maint: use "test x = x", not "test x == x"
authorJim Meyering <meyering@redhat.com>
Tue, 28 Jun 2011 18:09:52 +0000 (20:09 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 28 Jun 2011 22:33:12 +0000 (23:33 +0100)
* autogen.sh: Using "test x = x" is more portable.

autogen.sh

index ae68052..eb09236 100755 (executable)
@@ -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 "$@"