httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Ananiev" <anan...@thegdb.com>
Subject [PATCH] Fix small issue in win32/Configure.pl
Date Sun, 18 May 2008 14:29:11 GMT
currently apache_prog_name doesn't return the full path
to httpd.exe. This patch fixes it.


Index: win32/Configure.pl
===================================================================
--- win32/Configure.pl (revision 657565)
+++ win32/Configure.pl (working copy)
@@ -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