httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r408573 - in /httpd/apreq/trunk: build/update_version.pl win32/Configure.pl
Date Mon, 22 May 2006 05:35:46 GMT
Author: pgollucci
Date: Sun May 21 22:35:45 2006
New Revision: 408573

URL: http://svn.apache.org/viewvc?rev=408573&view=rev
Log:
add win32/Configure.pl's VERSION to the update script


Modified:
    httpd/apreq/trunk/build/update_version.pl
    httpd/apreq/trunk/win32/Configure.pl

Modified: httpd/apreq/trunk/build/update_version.pl
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/build/update_version.pl?rev=408573&r1=408572&r2=408573&view=diff
==============================================================================
--- httpd/apreq/trunk/build/update_version.pl (original)
+++ httpd/apreq/trunk/build/update_version.pl Sun May 21 22:35:45 2006
@@ -38,3 +38,10 @@
 my $pattern2 = "(?<=AM_INIT_AUTOMAKE\\(libapreq2, )(\\S+)(?=\\))";
 
 system "perl -i -ple 's/$pattern1/$version/ or s/$pattern2/$version/' configure.ac";
+
+#
+# win32/Configure.pl
+# my $VERSION = '[^']+'
+my $pattern3 = qr/my \$VERSION = "2.08"/;
+my $replace = "my \\\$VERSION = \"$version\"";
+system "perl -i -ple 's/$pattern3/$replace/' win32/Configure.pl";

Modified: httpd/apreq/trunk/win32/Configure.pl
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/win32/Configure.pl?rev=408573&r1=408572&r2=408573&view=diff
==============================================================================
--- httpd/apreq/trunk/win32/Configure.pl (original)
+++ httpd/apreq/trunk/win32/Configure.pl Sun May 21 22:35:45 2006
@@ -12,7 +12,7 @@
 use File::Path;
 use LWP::Simple;
 my ($apache, $apxs, $debug, $help, $no_perl, $perl, $with_perl);
-my $VERSION = '2.08';
+my $VERSION = "2.08";
 my $result = GetOptions( 'with-apache2=s' => \$apache,
 			 'with-apache2-apxs=s' => \$apxs,
 			 'debug' => \$debug,



Mime
View raw message