httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@hyperreal.com>
Subject cvs commit: apache/src/helpers PrintPath
Date Sat, 25 Jan 1997 03:20:34 GMT
jim         97/01/24 19:20:34

  Modified:    src/helpers  PrintPath
  Log:
  Prevent trap from contaminating exit status
  
  Revision  Changes    Path
  1.8       +1 -1      apache/src/helpers/PrintPath
  
  Index: PrintPath
  ===================================================================
  RCS file: /export/home/cvs/apache/src/helpers/PrintPath,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -C3 -r1.7 -r1.8
  *** PrintPath	1997/01/21 14:28:46	1.7
  --- PrintPath	1997/01/25 03:20:33	1.8
  ***************
  *** 6,12 ****
    # We do some funny stuff to check to see
    # if test/[] knows about -x
    #
  - trap 'rm -f $testfile; exit' 0 1 2 3 15
    testfile="pp.t.$$"
    
    cat > $testfile <<ENDTEST
  --- 6,11 ----
  ***************
  *** 19,24 ****
  --- 18,24 ----
    ENDTEST
    
    havex=`/bin/sh $testfile 2>/dev/null`
  + rm -f $testfile
    
    if [ "x$havex" = "xYES" ]; then
        test_exec_flag="-x"
  
  
  

Mime
View raw message