You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2002/08/14 04:33:01 UTC
cvs commit: modperl-2.0/lib/Apache Build.pm
stas 2002/08/13 19:33:01
Modified: lib/Apache Build.pm
Log:
apxs post-2.0.40 adds a new line, so we strip it
Revision Changes Path
1.103 +1 -0 modperl-2.0/lib/Apache/Build.pm
Index: Build.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- Build.pm 23 Jun 2002 21:46:09 -0000 1.102
+++ Build.pm 14 Aug 2002 02:33:00 -0000 1.103
@@ -123,6 +123,7 @@
}
my $val = qx($apxs @_ 2>/dev/null);
+ chomp $val if defined $val; # apxs post-2.0.40 adds a new line
unless ($val) {
error "'$apxs @_' failed:";