randy 96/12/26 11:18:53
Modified: src Configure
Log:
Add a little sanity checking to Configure for the -make flag
Revision Changes Path
1.60 +4 -0 apache/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache/src/Configure,v
retrieving revision 1.59
retrieving revision 1.60
diff -C3 -r1.59 -r1.60
*** Configure 1996/12/26 19:07:04 1.59
--- Configure 1996/12/26 19:18:52 1.60
***************
*** 23,28 ****
--- 23,32 ----
shift 1; file=$1; shift 1
elif [ "x$1" = "x-make" ] ; then
shift 1; makefile_tmpl=$1; shift 1
+ if [ ! -r $makefile_tmpl ]; then
+ echo "$makefile_tmpl does not exist or is not readable."
+ exit 1
+ fi
else
echo "Ignoring command line option '$1'"
shift 1