[PATCH] Fix small issue in win32/Configure.pl

"Nikolay Ananiev" <[email protected]>
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.