]> granicus.if.org Git - php/commitdiff
-f tests for plain files only. We need a way to find out whether we could do any...
authorSascha Schumann <sas@php.net>
Sun, 25 Apr 1999 14:08:41 +0000 (14:08 +0000)
committerSascha Schumann <sas@php.net>
Sun, 25 Apr 1999 14:08:41 +0000 (14:08 +0000)
scripts/preconfig

index aa8dbcc78785c1195fc1ca57d1bf5b61e199f887..34cef71f11df8e80fe1c9f55aefe25d194544489 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 -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