Make sure we tweak the right RSYNC_VERSION line in configure.

This commit is contained in:
Wayne Davison committed 2006-10-12 03:32:18 +00:00
1 parent 1a7f3d99c5
commit 200f2d98db
1 file changed
+1 -1
+1 -1
View File
@@ -155,7 +155,7 @@ foreach my $fn (@tweak_files) {
undef $/; $_ = <IN>; $/ = "\n";
close IN;
if ($fn =~ /configure/) {
s/^RSYNC_VERSION.*/RSYNC_VERSION=$version/m;
s/^RSYNC_VERSION=.*/RSYNC_VERSION=$version/m;
} elsif ($fn =~ /\.spec/) {
s/^(Version:) .*/$1 $version/m;
s/^(Release:) .*/$1 $release/m;