[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH hivex 09/14] maint: use "test x = x", not "test x == x"



From: Jim Meyering <meyering 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]