From: Andrey Hristov Date: Sun, 25 Apr 1999 00:55:01 +0000 (+0000) Subject: test -e fails in sh. Used test -f instead. X-Git-Tag: BEFORE_PHP4_APACHE_MODULE_CHANGE~169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef7a4db341479929732e6a7caef38f14afc1267e;p=php test -e fails in sh. Used test -f instead. --- diff --git a/scripts/preconfig b/scripts/preconfig index d088de5a57..aa8dbcc787 100755 --- a/scripts/preconfig +++ b/scripts/preconfig @@ -5,7 +5,7 @@ disclaimer="Do NOT edit - this file is generated by preconfig" # security check - simply overwriting existing files could be harmful -if test -e configure.in.new || test -e acconfig.h.new ; then +if test -f configure.in.new || test -f acconfig.h.new ; then echo "Please remove the *.new files and rerun this command" exit 1 fi