summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-07-16 22:13:29 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-07-21 13:02:49 +0000
commitf83192cef04241c35c71be66d04b55a5484a6e97 (patch)
tree6c2ce62ec26834d99a399245c440e821cd154eef
parent33c372baf79097033423c8145df3fd5ed74595d3 (diff)
downloadgit-buildpackage-f83192cef04241c35c71be66d04b55a5484a6e97.tar.gz
git-buildpackage-f83192cef04241c35c71be66d04b55a5484a6e97.tar.bz2
git-buildpackage-f83192cef04241c35c71be66d04b55a5484a6e97.zip
buildpackage-rpm: fix one error message
Change-Id: I1985f1c4dc208e1b9c18d0b4dc570d1c73c4c0e0 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xgbp/scripts/buildpackage_rpm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index c47e4d06..dcfa3ace 100755
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -620,7 +620,8 @@ def main(argv):
tree, options.orig_prefix,
options.comp_level,
options.with_submodules):
- raise GbpError, "Cannot create source tarball at '%s'" % export_dir
+ raise GbpError("Cannot create source tarball at '%s'" %
+ source_dir)
# Non-native packages: create orig tarball from upstream
elif spec.orig_src:
prepare_upstream_tarball(repo, spec, options, source_dir)