httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: [STATUS] 1.3b3-dev Thu Nov 6 08:17:05 EST 1997
Date Thu, 06 Nov 1997 15:35:23 GMT
On Thu, 6 Nov 1997 08:26:03 -0500 (EST), Jim Jagielski wrote:

>Open issues:
>
>    * 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...).

Index: helpers/PrintPathOS2
===================================================================
RCS file: /cvs/apachen/src/helpers/PrintPathOS2,v
retrieving revision 1.1
diff -u -w -r1.1 PrintPathOS2
--- PrintPathOS2	1997/11/05 12:48:15	1.1
+++ PrintPathOS2	1997/11/06 14:14:03
@@ -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

--
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message