[Libguestfs] [PATCH hivex 09/14] maint: use "test x = x", not "test x == x"
Jim Meyering
jim at meyering.net
Tue Jun 28 18:09:52 UTC 2011
From: Jim Meyering <meyering at redhat.com>
* autogen.sh: Using "test x = x" is more portable.
---
autogen.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index ae68052..eb09236 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -51,7 +51,7 @@ mkdir -p perl/lib/Win
# If no arguments were specified and configure has run before, use the previous
# arguments
-if [ $# == 0 -a -x ./config.status ]; then
+if [ $# = 0 -a -x ./config.status ]; then
./config.status --recheck
else
$CONFIGUREDIR/configure "$@"
--
1.7.6.rc2.302.gc2115
More information about the Libguestfs
mailing list