httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject svn commit: r662064 - /httpd/apreq/trunk/win32/Configure.pl
Date Sat, 31 May 2008 19:26:25 GMT
Author: randyk
Date: Sat May 31 12:26:24 2008
New Revision: 662064

URL: http://svn.apache.org/viewvc?rev=662064&view=rev
Log:
have apache_prog_name return full path to httpd.exe:
   http://marc.info/?l=apreq-dev&m=121112099818764&w=2
Patch supplied by Nikolay Ananiev

Modified:
    httpd/apreq/trunk/win32/Configure.pl

Modified: httpd/apreq/trunk/win32/Configure.pl
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/win32/Configure.pl?rev=662064&r1=662063&r2=662064&view=diff
==============================================================================
--- httpd/apreq/trunk/win32/Configure.pl (original)
+++ httpd/apreq/trunk/win32/Configure.pl Sat May 31 12:26:24 2008
@@ -411,8 +411,9 @@
     my $apache = shift;
     my $prog;
     for my $trial(qw(Apache.exe httpd.exe)) {
-        next unless -e catfile($apache, 'bin', $trial);
-        $prog = $trial;
+        my $path = catfile($apache, 'bin', $trial);
+        next unless -e $path;
+        $prog = $path;
         last;
     }
     die "Could not determine the Apache2 binary name" unless $prog;



Mime
View raw message