pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/filesystems/glusterfs/patches glusterfs: Add patch mis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/49e6eca3f3cc
branches: trunk
changeset: 414076:49e6eca3f3cc
user: gdt <gdt%pkgsrc.org@localhost>
date: Mon Mar 23 23:21:17 2020 +0000
description:
glusterfs: Add patch missing in previous commit
diffstat:
filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh | 17 ++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r 90762cadf215 -r 49e6eca3f3cc filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/glusterfs/patches/patch-tools_gfind__missing__files_gfind__missing__files.sh Mon Mar 23 23:21:17 2020 +0000
@@ -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