aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-01-12 15:24:04 +0200
committerGuido Günther <agx@sigxcpu.org>2012-01-15 19:52:01 +0100
commit2aa428256885b9d2429a83c51065a42de6d0c242 (patch)
treebd1645e85d9e60737a6a42e0f32977fd6121f40d /gbp/scripts
parent835e3cab33689550b52513db32cb3feef853bef3 (diff)
deb: minor refactor of parameters of symlink_orig()
Diffstat (limited to 'gbp/scripts')
-rwxr-xr-x[-rw-r--r--]gbp/scripts/buildpackage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage.py b/gbp/scripts/buildpackage.py
index 8b98e0ba..1c166a84 100644..100755
--- a/gbp/scripts/buildpackage.py
+++ b/gbp/scripts/buildpackage.py
@@ -141,7 +141,7 @@ def prepare_upstream_tarball(repo, cp, options, tarball_dir, output_dir):
# look in tarball_dir first, if found force a symlink to it
if options.tarball_dir:
gbp.log.debug("Looking for orig tarball '%s' at '%s'" % (orig_file, tarball_dir))
- if not du.symlink_orig(cp, options.comp_type, tarball_dir, output_dir, force=True):
+ if not du.symlink_orig(orig_file, tarball_dir, output_dir, force=True):
gbp.log.info("Orig tarball '%s' not found at '%s'" % (orig_file, tarball_dir))
else:
gbp.log.info("Orig tarball '%s' found at '%s'" % (orig_file, tarball_dir))