Make sure we tweak the right RSYNC_VERSION line in configure.
authorWayne Davison <wayned@samba.org>
Thu, 12 Oct 2006 03:32:18 +0000 (03:32 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 12 Oct 2006 03:32:18 +0000 (03:32 +0000)
packaging/release-rsync

index 295cd10..f63f3a7 100755 (executable)
@@ -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;