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-11-14 14:47:21 +0200
commite6b8ed54bf59311f339980ece7dcbc5ab7ba800b (patch)
tree592cac26f63fb8fe4fb893c33576942e38a3df1a
parent6c086ca6e4ab4c067bb1a9cc397584ca8f765915 (diff)
downloadgit-buildpackage-e6b8ed54bf59311f339980ece7dcbc5ab7ba800b.tar.gz
git-buildpackage-e6b8ed54bf59311f339980ece7dcbc5ab7ba800b.tar.bz2
git-buildpackage-e6b8ed54bf59311f339980ece7dcbc5ab7ba800b.zip
buildpackage-rpm: fix one error message
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)