From ac9c0d03e0dfc527bb6091cf5cbd5277a3512bce Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 25 Apr 1999 14:08:41 +0000 Subject: -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. --- scripts/preconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.1