]> granicus.if.org Git - php/commitdiff
test -e fails in sh. Used test -f instead.
authorAndrey Hristov <andrey@php.net>
Sun, 25 Apr 1999 00:55:01 +0000 (00:55 +0000)
committerAndrey Hristov <andrey@php.net>
Sun, 25 Apr 1999 00:55:01 +0000 (00:55 +0000)
scripts/preconfig

index d088de5a57b6ce4dabc24e8fb3c2ffcd7257ef20..aa8dbcc78785c1195fc1ca57d1bf5b61e199f887 100755 (executable)
@@ -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