summaryrefslogtreecommitdiff
path: root/git-import-dsc
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2006-09-13 09:39:39 +0200
committerGuido Guenther <agx@bogon.sigxcpu.org>2006-09-13 09:39:39 +0200
commit72f2e696deb1d2b86f8ad7530d0b41f6e5649a80 (patch)
tree91b3da40c445bf1324b1b51aad0e4f8f17674721 /git-import-dsc
parent6ffbf26bfa0b4b6c62daaf8ae65a293a398342f1 (diff)
downloadgit-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-xgit-import-dsc2
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 .')