perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1782838 - /perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm
Date Mon, 13 Feb 2017 19:23:39 GMT
Author: sf
Date: Mon Feb 13 19:23:39 2017
New Revision: 1782838

URL: http://svn.apache.org/viewvc?rev=1782838&view=rev
Log:
Avoid loads of error messages if PREFIX is empty

An empty PREFIX is not an error.

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm?rev=1782838&r1=1782837&r2=1782838&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm Mon Feb 13 19:23:39 2017
@@ -87,7 +87,7 @@ sub server_file_rel2abs {
                        'user-supplied $base' ],
                  [ $self->{inherit_config}->{ServerRoot},
                        'httpd.conf inherited ServerRoot' ],
-                 [ $self->apxs('PREFIX'),
+                 [ $self->apxs('PREFIX', 1),
                        'apxs-derived ServerRoot' ]);
 
     # remove surrounding quotes if any



Mime
View raw message