Use -f instead of -e since -e does not work in Solaris /bin/sh.
authorBrian Cameron <brian.cameron@sun.com>
Thu, 1 May 2003 13:17:34 +0000 (13:17 +0000)
committerBrian Cameron <brian.cameron@sun.com>
Thu, 1 May 2003 13:17:34 +0000 (13:17 +0000)
Original commit message from CVS:
Use -f instead of -e since -e does not work in Solaris /bin/sh.

autogen.sh

index 1dce7da..dc0d266 100755 (executable)
@@ -56,7 +56,7 @@ fi
 
 toplevel_check $srcfile
 
-if test -e acinclude.m4; then rm acinclude.m4; fi
+if test -f acinclude.m4; then rm acinclude.m4; fi
 tool_run "$aclocal" "-I common/m4 $ACLOCAL_FLAGS"
 
 tool_run "libtoolize" "--copy --force"