Mailing List Archive

cvs commit: apache/src Configure
randy 96/12/26 11:21:44

Modified: src Configure
Log:
Thinking in small steps today. Add the same error checking for -file

Revision Changes Path
1.61 +4 -0 apache/src/Configure

Index: Configure
===================================================================
RCS file: /export/home/cvs/apache/src/Configure,v
retrieving revision 1.60
retrieving revision 1.61
diff -C3 -r1.60 -r1.61
*** Configure 1996/12/26 19:18:52 1.60
--- Configure 1996/12/26 19:21:43 1.61
***************
*** 21,26 ****
--- 21,30 ----
while [ "x$1" != "x" ]; do
if [ "x$1" = "x-file" ] ; then
shift 1; file=$1; shift 1
+ if [ ! -r $file ]; then
+ echo "$file does not exist or is not readable."
+ exit 1
+ fi
elif [ "x$1" = "x-make" ] ; then
shift 1; makefile_tmpl=$1; shift 1
if [ ! -r $makefile_tmpl ]; then