summaryrefslogtreecommitdiff
path: root/git-import-orig
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-05-08 17:23:10 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-05-08 17:23:10 +0200
commitebae1a8b091861b6c7367238eca0e069b06a3685 (patch)
tree91f06eef2620090ef877faf984f535f4c5553215 /git-import-orig
parent963839d195a22808eab92e7b40cf8033547bc905 (diff)
downloadgit-buildpackage-ebae1a8b091861b6c7367238eca0e069b06a3685.tar.gz
git-buildpackage-ebae1a8b091861b6c7367238eca0e069b06a3685.tar.bz2
git-buildpackage-ebae1a8b091861b6c7367238eca0e069b06a3685.zip
fix symlink creation
Diffstat (limited to 'git-import-orig')
-rwxr-xr-xgit-import-orig2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-import-orig b/git-import-orig
index 975e95f5..17744f28 100755
--- a/git-import-orig
+++ b/git-import-orig
@@ -51,7 +51,7 @@ def symlink_orig(archive, pkg, version):
dst = "../%s_%s.orig.tar%s" % (pkg, version, ext)
if os.path.basename(archive) != os.path.basename(dst):
try:
- os.symlink(archive, dst)
+ os.symlink(os.path.abspath(archive), dst)
except OSError, err:
raise GbpError, err
return dst