You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Jim Jagielski <ji...@hyperreal.com> on 1996/12/05 01:01:06 UTC
cvs commit: apache/src/helpers PrintPath
jim 96/12/04 16:01:05
Modified: src/helpers PrintPath
Log:
fix OSF bug report
Revision Changes Path
1.2 +4 -3 apache/src/helpers/PrintPath
Index: PrintPath
===================================================================
RCS file: /export/home/cvs/apache/src/helpers/PrintPath,v
retrieving revision 1.1
retrieving revision 1.2
diff -C3 -r1.1 -r1.2
*** PrintPath 1996/10/25 13:06:37 1.1
--- PrintPath 1996/12/05 00:01:04 1.2
***************
*** 5,13 ****
#
if [ $1 = "-s" ]; then
shift
- echo="#"
else
! echo="echo"
fi
for path in `echo $PATH |
--- 5,12 ----
#
if [ $1 = "-s" ]; then
shift
else
! echo="yes"
fi
for path in `echo $PATH |
***************
*** 17,23 ****
s/:/ /g' `
do
if [ -x $path/$1 ]; then
! eval $echo $path/$1
exit 0
fi
done
--- 16,24 ----
s/:/ /g' `
do
if [ -x $path/$1 ]; then
! if [ "$echo" = "yes" ]; then
! echo $path/$1
! fi
exit 0
fi
done