summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-04-25 14:08:41 +0000
committerSascha Schumann <sas@php.net>1999-04-25 14:08:41 +0000
commitac9c0d03e0dfc527bb6091cf5cbd5277a3512bce (patch)
tree12fa58d15f72ed3924ce72306ec0b479eeb9bf55 /scripts
parent9cace18e1006f65b1fa834c970cc25d1dad5b381 (diff)
downloadphp-git-ac9c0d03e0dfc527bb6091cf5cbd5277a3512bce.tar.gz
-f tests for plain files only. We need a way to find out whether we could do any damage to existing files. If we cannot write to them, we probably cannot do harmful things hopefully.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/preconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/preconfig b/scripts/preconfig
index aa8dbcc787..34cef71f11 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 -f configure.in.new || test -f acconfig.h.new ; then
+if test -w configure.in.new || test -w acconfig.h.new ; then
echo "Please remove the *.new files and rerun this command"
exit 1
fi