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:";
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm stas
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm stas
- cvs commit: modperl-2.0/lib/Apache Build.pm stas
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm dougm
- cvs commit: modperl-2.0/lib/Apache Build.pm stas
- cvs commit: modperl-2.0/lib/Apache Build.pm stas
- cvs commit: modperl-2.0/lib/Apache Build.pm stas