httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@hyperreal.org
Subject cvs commit: apache-1.3/src/helpers TestCompile
Date Wed, 21 Jul 1999 14:32:56 GMT
jim         99/07/21 07:32:55

  Modified:    src/helpers TestCompile
  Log:
  Portable solution for VERBOSE and RUNIT vars.
  Make them settable via the environment. Namechange for RUNIT
  "just in case"
  
  Revision  Changes    Path
  1.34      +10 -5     apache-1.3/src/helpers/TestCompile
  
  Index: TestCompile
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/helpers/TestCompile,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- TestCompile	1999/07/21 12:05:13	1.33
  +++ TestCompile	1999/07/21 14:32:55	1.34
  @@ -49,10 +49,15 @@
   cd ./helpers
   
   #
  -# Handle "verbose", "silent" and "runit" flags
  +# Handle "verbose", "silent" and "runit" flags. Allow for them
  +# to be set via the environment
   #
  -: ${VERBOSE:=no}
  -RUNIT="no"
  +if [ "x$VERBOSE" = "x" ]; then
  +    VERBOSE="no"
  +fi
  +if [ "x$TCRUNIT" = "x" ]; then
  +    TCRUNIT="no";
  +fi
   case "$1" in
       "-v")
           VERBOSE="yes"
  @@ -63,7 +68,7 @@
   	shift
   	;;
       "-r")
  -        RUNIT="yes"
  +        TCRUNIT="yes"
   	shift
   	;;
   esac
  @@ -211,7 +216,7 @@
   # have PrintPath just search this directory.
   
   if ./PrintPath -s -p`pwd` $TARGET ; then
  -    if [ "x$RUNIT" = "xyes" ]; then
  +    if [ "x$TCRUNIT" = "xyes" ]; then
   	`pwd`/$TARGET
       fi
       exstat=0
  
  
  

Mime
View raw message