summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-03-23 23:21:17 +0000
committergdt <gdt@pkgsrc.org>2020-03-23 23:21:17 +0000
commitb9dabbf1a59907547c923ebf983b628a172c2ad3 (patch)
tree89ddacae9ce4236d7ac52fd85aa837aba67869b1 /filesystems
parent4ad6e67ec3d66c9958be690be2c4260a3ff95b6d (diff)
downloadpkgsrc-b9dabbf1a59907547c923ebf983b628a172c2ad3.tar.gz
glusterfs: Add patch missing in previous commit
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh b/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh
new file mode 100644
index 00000000000..159302ac17f
--- /dev/null
+++ b/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh
@@ -0,0 +1,17 @@
+$NetBSD: patch-tools_gfind__missing__files_gfind__missing__files.sh,v 1.1 2020/03/23 23:21:17 gdt Exp $
+
+Remediate bashism.
+
+Not yet filed upstream.
+
+--- tools/gfind_missing_files/gfind_missing_files.sh.orig 2018-04-12 17:46:46.697237625 +0000
++++ tools/gfind_missing_files/gfind_missing_files.sh
+@@ -61,7 +61,7 @@ mount_slave()
+
+ parse_cli()
+ {
+- if [[ $# -ne 4 ]]; then
++ if [ "$#" -ne 4 ]; then
+ echo "Usage: gfind_missing_files <brick-path> <slave-host> <slave-vol> <OUTFILE>"
+ exit 1
+ else