Commit 11f47738 authored by bescoto's avatar bescoto

Final changes for 0.13.4


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@520 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 54048755
New in v0.13.4 (??????????)
New in v0.13.4 (2004/01/31)
---------------------------
Checked in patch by John Goerzen to support Mac OS X Finder
......
......@@ -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
......
......@@ -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")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment