You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1997/11/06 22:59:37 UTC
cvs commit: apachen/src/helpers PrintPathOS2
dgaudet 97/11/06 13:59:37
Modified: src/helpers PrintPathOS2
Log:
> * PrintPathOS2 uses "$test_exec_flag" without defining it...
> should it be '-x' or just '-r'?
This fixes it up and also makes its output a bit more sensible by changing
all the backslashes from the PATH to forward slashes (it was outputing
a mixture of forward and back slashes, looked a bit funny...).
Submitted by: Brian Havard <br...@kheldar.apana.org.au>
Reviewed by: Dean Gaudet, Jim Jagielski, Martin Kraemer
Revision Changes Path
1.2 +3 -2 apachen/src/helpers/PrintPathOS2
Index: PrintPathOS2
===================================================================
RCS file: /export/home/cvs/apachen/src/helpers/PrintPathOS2,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PrintPathOS2 1997/11/05 12:48:15 1.1
+++ PrintPathOS2 1997/11/06 21:59:36 1.2
@@ -14,9 +14,10 @@
sed 's/^;/.;/
s/;;/;.;/g
s/;$/;./
- s/;/ /g' `
+ s/;/ /g
+ s/\\\\/\\//g' `
do
- if [ $test_exec_flag $path/$1.exe ] && [ ! -d $path/$1.exe ]; then
+ if [ -r $path/$1.exe ] && [ ! -d $path/$1.exe ]; then
if [ "$echo" = "yes" ]; then
echo $path/$1.exe
fi