pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/filesystems/glusterfs/patches



Module Name:    pkgsrc
Committed By:   gdt
Date:           Mon Mar 23 23:21:17 UTC 2020

Added Files:
        pkgsrc/filesystems/glusterfs/patches:
            patch-tools_gfind__missing__files_gfind__missing__files.sh

Log Message:
glusterfs: Add patch missing in previous commit


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh
diff -u /dev/null pkgsrc/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh:1.1
--- /dev/null   Mon Mar 23 23:21:17 2020
+++ pkgsrc/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh     Mon Mar 23 23:21:17 2020
@@ -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



Home | Main Index | Thread Index | Old Index