httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject TestCompile, HP-UX and -r/-x
Date Fri, 10 Apr 1998 22:58:25 GMT
Here's a quick little fix...

Index: src/helpers/TestCompile
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/helpers/TestCompile,v
retrieving revision 1.9
diff -u -r1.9 TestCompile
--- TestCompile	1998/03/05 12:42:30	1.9
+++ TestCompile	1998/04/10 22:55:52
@@ -120,8 +120,9 @@
 # Now run that Makefile
 eval "make $TARGET >/dev/null $ERRDIR"
 
-# And see if dummy exists, if so, then we assume the 
-# condition we are testing for is good
-if [ -f $TARGET ]; then
+# And see if dummy exists and is executable, if so, then we
+# assume the condition we are testing for is good
+TESTTARG=`PATH=".:$PATH" ./PrintPath $TARGET`
+if [ "X$TESTTARG" = "X./$TARGET" ] ; then
     exstat=0
 fi

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message