summaryrefslogtreecommitdiff
path: root/rdiff-backup/dist
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
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')
-rwxr-xr-xrdiff-backup/dist/makedist4
-rwxr-xr-xrdiff-backup/dist/makeweb2
2 files changed, 3 insertions, 3 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
diff --git a/rdiff-backup/dist/makeweb b/rdiff-backup/dist/makeweb
index 5298172..2ed8180 100755
--- a/rdiff-backup/dist/makeweb
+++ b/rdiff-backup/dist/makeweb
@@ -35,7 +35,7 @@ if sys.argv[1:]:
else: os.remove(filename)
os.symlink('OLD/%s/%s' % (version, filename), filename)
RunCommand("rm latest latest.src.rpm latest.tar.gz", ignore_error = 1)
- RunCommand("ln -s rdiff-backup-%s-*src.rpm latest.src.rpm" % (version,))
+ RunCommand("ln -s rdiff-backup-%s-1.src.rpm latest.src.rpm" % (version,))
os.symlink("rdiff-backup-%s.tar.gz" % (version,), 'latest.tar.gz')
os.symlink('OLD/%s' % (version,), 'latest')
RunCommand("./Make")