diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2010-11-15 13:34:23 -0600 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-11-15 13:34:23 -0600 |
commit | 5abb142f341b51fb03f5c57434b977beecb4b27a (patch) | |
tree | 46f14a0112a4daba23eb0f382eeaaaee082a2765 | |
parent | 010e4a6c963f5c8983cd1c948cb988d4d2e001fe (diff) | |
download | bcfg2-5abb142f341b51fb03f5c57434b977beecb4b27a.tar.gz bcfg2-5abb142f341b51fb03f5c57434b977beecb4b27a.tar.bz2 bcfg2-5abb142f341b51fb03f5c57434b977beecb4b27a.zip |
export.py: Fix archive creation bug in export script
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rwxr-xr-x | tools/export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/export.py b/tools/export.py index 6f46e1011..c64ff90a2 100755 --- a/tools/export.py +++ b/tools/export.py @@ -69,7 +69,7 @@ output = run(cmd)[0].strip() # value in the [user] section of your git configuration. cmd = "git tag -s v%s -m 'tagged %s release'" % (version, version) output = run(cmd)[0].strip() -cmd = "git archive --format=tar --prefix=%s-%s v%s | gzip > %s" % \ +cmd = "git archive --format=tar --prefix=%s-%s/ v%s | gzip > %s" % \ (pkgname, version, version, tarname) output = run(cmd)[0].strip() cmd = "gpg --armor --output %s.gpg --detach-sig %s" % (tarname, tarname) |