summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>1999-04-25 00:55:01 +0000
committerAndrey Hristov <andrey@php.net>1999-04-25 00:55:01 +0000
commitef7a4db341479929732e6a7caef38f14afc1267e (patch)
tree63bd1ce4d70f0bc292e965ddc1f2de3a81b292c9 /scripts
parent6955cacb21abc184ea4ab6bbdf1870c48bc95c85 (diff)
downloadphp-git-ef7a4db341479929732e6a7caef38f14afc1267e.tar.gz
test -e fails in sh. Used test -f instead.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/preconfig2
1 files changed, 1 insertions, 1 deletions
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