aboutsummaryrefslogtreecommitdiff
path: root/git-import-dsc
diff options
context:
space:
mode:
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 .')