diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-05-08 17:23:10 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-05-08 17:23:10 +0200 |
commit | ebae1a8b091861b6c7367238eca0e069b06a3685 (patch) | |
tree | 91f06eef2620090ef877faf984f535f4c5553215 /git-import-orig | |
parent | 963839d195a22808eab92e7b40cf8033547bc905 (diff) | |
download | git-buildpackage-ebae1a8b091861b6c7367238eca0e069b06a3685.tar.gz git-buildpackage-ebae1a8b091861b6c7367238eca0e069b06a3685.tar.bz2 git-buildpackage-ebae1a8b091861b6c7367238eca0e069b06a3685.zip |
fix symlink creation
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 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 |