From: Sascha Schumann Date: Sun, 25 Apr 1999 14:08:41 +0000 (+0000) Subject: -f tests for plain files only. We need a way to find out whether we could do any... X-Git-Tag: BEFORE_PHP4_APACHE_MODULE_CHANGE~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac9c0d03e0dfc527bb6091cf5cbd5277a3512bce;p=php -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. --- 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