diff options
author | dgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2006-11-12 07:33:13 +0000 |
---|---|---|
committer | dgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2006-11-12 07:33:13 +0000 |
commit | e17aab518fe27de80620500da6436ea32d586c68 (patch) | |
tree | d8abf11a8060617be9a43ef0bc4d11007c4a90a7 /rdiff-backup/dist/makedist | |
parent | fab37619bd38cce527d3168754ab3b0105f2ac9a (diff) | |
download | rdiff-backup-e17aab518fe27de80620500da6436ea32d586c68.tar.gz |
preparing for 1.0.5 releaser1-0
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-0@769 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/dist/makedist')
-rwxr-xr-x | rdiff-backup/dist/makedist | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rdiff-backup/dist/makedist b/rdiff-backup/dist/makedist index b7b59d9..9f515b3 100755 --- a/rdiff-backup/dist/makedist +++ b/rdiff-backup/dist/makedist @@ -90,7 +90,7 @@ def VersionedCopy(source, dest, munge_date = 0): fout.write(outbuf) assert not fout.close() -def MakeTar(): +def MakeTar(specfiles): """Create rdiff-backup tar file""" tardir = "rdiff-backup-%s" % Version tarfile = "rdiff-backup-%s.tar.gz" % Version @@ -103,7 +103,7 @@ def MakeTar(): "FAQ.html", "examples.html", SourceDir + "/cmodule.c", SourceDir + "/_librsyncmodule.c", - DistDir + "/setup.py"]: + DistDir + "/setup.py"] + specfiles: assert not os.system("cp %s %s" % (filename, tardir)), filename os.mkdir(tardir+"/rdiff_backup") @@ -138,7 +138,7 @@ def MakeSpecFile(): specfile, fedora_specfile= "rdiff-backup.spec", "rdiff-backup.spec-fedora" VersionedCopy(spec_template, specfile) VersionedCopy(fedora_spec_template, fedora_specfile) - return specfile, fedora_specfile + return [specfile, fedora_specfile] def parse_cmdline(arglist): """Returns action""" @@ -165,10 +165,10 @@ def Main(): if action != "HTML": assert action == "All" print "Processing version " + Version - tarfile = MakeTar() - print "Made tar file " + tarfile specfiles = MakeSpecFile() print "Made specfiles ", specfiles + tarfile = MakeTar(specfiles) + print "Made tar file " + tarfile if __name__ == "__main__" and not globals().has_key('__no_execute__'): |