From 754b3128a3eb9016e04052390eb0a6cdb1e6bd2b Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 10 Sep 2011 13:17:11 +0200 Subject: [PATCH] backportpackage: Use absolute path of workdir when test-building. --- backportpackage | 2 ++ debian/changelog | 1 + 2 files changed, 3 insertions(+) diff --git a/backportpackage b/backportpackage index 1e419dd..2de32ca 100755 --- a/backportpackage +++ b/backportpackage @@ -245,6 +245,8 @@ def do_build(workdir, dsc, release, builder, update): if 0 != builder.update(release): sys.exit(1) + # builder.build is going to chdir to buildresult: + workdir = os.path.realpath(workdir) return builder.build(os.path.join(workdir, dsc), release, os.path.join(workdir, "buildresult")) diff --git a/debian/changelog b/debian/changelog index 7218032..2f24565 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,7 @@ ubuntu-dev-tools (0.131) UNRELEASED; urgency=low - Use wget-style progress bar (fixed width) (LP: #845787) * Bump python-debian B-D and Depends to 0.1.20 for unicode Changelog reading. + * backportpackage: Use absolute path of workdir when test-building. [ Colin Watson ] * syncpackage: Fix typo.