diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-06-16 11:15:59 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-06-16 11:15:59 +0200 |
commit | 6008c37c20674e922811ab83b68ccac0a87bd834 (patch) | |
tree | 891492c6824b86e377f8adc866d9189fb0aba141 | |
parent | 6ccb66c4bac51dfbbbe74788b8978e057cc897d5 (diff) |
don't try to cleanup in case of tag_only
Closes: #486398
-rwxr-xr-x | git-buildpackage | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/git-buildpackage b/git-buildpackage index 36eec28e..60272d98 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -280,8 +280,9 @@ def main(argv): print >>sys.stderr, err retval = 1 - if options.export_dir and options.purge and not retval: - RemoveTree(export_dir)() + if not options.tag_only: + if options.export_dir and options.purge and not retval: + RemoveTree(export_dir)() return retval |