diff options
author | Guido Guenther <agx@sigxcpu.org> | 2006-09-13 09:39:39 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2006-09-13 09:39:39 +0200 |
commit | 72f2e696deb1d2b86f8ad7530d0b41f6e5649a80 (patch) | |
tree | 91b3da40c445bf1324b1b51aad0e4f8f17674721 /git-import-dsc | |
parent | 6ffbf26bfa0b4b6c62daaf8ae65a293a398342f1 (diff) | |
download | git-buildpackage-72f2e696deb1d2b86f8ad7530d0b41f6e5649a80.tar.gz git-buildpackage-72f2e696deb1d2b86f8ad7530d0b41f6e5649a80.tar.bz2 git-buildpackage-72f2e696deb1d2b86f8ad7530d0b41f6e5649a80.zip |
try harder to find the unpacked source dir
Diffstat (limited to 'git-import-dsc')
-rwxr-xr-x | git-import-dsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-import-dsc b/git-import-dsc index ee074f19..52b7b28b 100755 --- a/git-import-dsc +++ b/git-import-dsc @@ -59,7 +59,7 @@ class DscPackage(object): def import_upstream(src): src.tempdir=tempfile.mkdtemp(dir='.') os.system('tar -C %s -zxf %s' % (src.tempdir, src.orig)) - src.workdir=glob.glob('%s/%s*' % (src.tempdir, src.pkg))[0] + src.workdir=glob.glob('%s/*' % (src.tempdir, ))[0] os.chdir(src.workdir) os.system('git-init-db') os.system('git-add .') |