summaryrefslogtreecommitdiff
path: root/filesystems/glusterfs/patches/patch-aa
blob: 70ab4eae1a31764a3dda7dc34901a0a996be4343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.2 2011/04/18 16:19:48 manu Exp $

The == operator is a non-standard bash extension. = should be used instead
--- xlators/mount/fuse/utils/mount_glusterfs.in.orig	2011-04-13 10:19:20.000000000 +0200
+++ xlators/mount/fuse/utils/mount_glusterfs.in	2011-04-13 10:19:33.000000000 +0200
@@ -164,9 +164,9 @@
     }
 
     # TODO: use getopt. This is very much darwin specific
     volfile_loc="$1";
-    while [ "$volfile_loc" == "-o" ] ; do
+    while [ "$volfile_loc" = "-o" ] ; do
 	shift ;
 	shift ;
 	volfile_loc="$1";
     done