summaryrefslogtreecommitdiff
path: root/rdiff-backup/dist/makedist
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-02-01 05:04:05 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-02-01 05:04:05 +0000
commit73637deeb71cb346a971532308de9514f36f46fd (patch)
tree29c6952eb3a324420393f9683f43109f4b1ab674 /rdiff-backup/dist/makedist
parentcb4b57348bb856033ff6d169d084121984fd477c (diff)
downloadrdiff-backup-73637deeb71cb346a971532308de9514f36f46fd.tar.gz
Final changes for 0.13.4
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@520 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/dist/makedist')
-rwxr-xr-xrdiff-backup/dist/makedist4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/dist/makedist b/rdiff-backup/dist/makedist
index d0c2189..b7b59d9 100755
--- a/rdiff-backup/dist/makedist
+++ b/rdiff-backup/dist/makedist
@@ -75,10 +75,10 @@ def VersionedCopy(source, dest, munge_date = 0):
inbuf = fin.read()
assert not fin.close()
- outbuf = re.sub("\$version", Version, inbuf, 1)
+ outbuf = re.sub("\$version", Version, inbuf)
if outbuf == inbuf: assert 0, "No $version string replaced"
assert not re.search("\$version", outbuf), \
- "Two $version strings found in the same file %s" % (source,)
+ "Some $version strings not repleased in %s" % (source,)
if munge_date:
inbuf = outbuf