diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-07-25 20:53:16 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-07-25 21:13:16 +0200 |
commit | 489a532b1e6a15d8d74dc4acc13f2b5296f26b03 (patch) | |
tree | 863e3b75e0025afd19f7731b3b5ee8929c6156ff /git-import-orig | |
parent | e05e98532a662ec5d65df74cf60f63dc331897c3 (diff) |
Strip trailing '/' from the unpack path
so the dirname/basename split works reliably
Git-Dch: Ignore
Diffstat (limited to 'git-import-orig')
-rwxr-xr-x | git-import-orig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-import-orig b/git-import-orig index c9d7170..aebb811 100755 --- a/git-import-orig +++ b/git-import-orig @@ -191,7 +191,7 @@ def repacked_tarball_name(source, name, version): os.path.dirname(source.path), os.path.basename(source.path).replace(".tar", ".gbp.tar")) else: - # Repacked sources or other arcives get canonical name + # Repacked sources or other archives get canonical name name = os.path.join( os.path.dirname(source.path), "%s_%s.orig.tar.bz2" % (name, version)) |