lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] svn commit: r1334174 - /lucy/trunk/devel/bin/update_version
Date Fri, 04 May 2012 20:44:32 GMT
Author: marvin
Date: Fri May  4 20:44:32 2012
New Revision: 1334174

URL: http://svn.apache.org/viewvc?rev=1334174&view=rev
Log:
Set up update_version to get all $VERSION vars in Lucy.pm.

Modified:
    lucy/trunk/devel/bin/update_version

Modified: lucy/trunk/devel/bin/update_version
URL: http://svn.apache.org/viewvc/lucy/trunk/devel/bin/update_version?rev=1334174&r1=1334173&r2=1334174&view=diff
==============================================================================
--- lucy/trunk/devel/bin/update_version (original)
+++ lucy/trunk/devel/bin/update_version Fri May  4 20:44:32 2012
@@ -48,7 +48,7 @@ my $buf;
 
 # Update Lucy.pm.
 $buf = read_file('perl/lib/Lucy.pm');
-$buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/
+$buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/g
     or die "no match";
 $buf =~ s/XSLoader::load\( 'Lucy', '(.+?)'/XSLoader::load\( 'Lucy', '$x_y_z_version'/
     or die "no match";



Mime
View raw message