aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--debian/changelog5
-rwxr-xr-xpbuilder-buildpackage4
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index fc0fc92..7b374c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-11 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder-buildpackage: actually create buildresult dir, the
+ condition was wrong.
+
2006-06-05 Junichi Uekawa <dancer@debian.org>
* pdebuild-internal: -p for 'su'
diff --git a/debian/changelog b/debian/changelog
index 848f0bb..fae0423 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,11 @@ pbuilder (0.155) UNRELEASED; urgency=low
* Bug fix: "pbuilder: pdebuild-internal doesn't honor dpkg-buildpackage
options", thanks to William Steve Applegate (Closes: #366327).
call su with '-p'
+ * Bug fix: "pbuilder: should create BUILDRESULT if not existent", thanks
+ to Daniel Leidert (Closes: #335523), there was a wrong condition
+ check, it should do that now.
- -- Junichi Uekawa <dancer@debian.org> Mon, 5 Jun 2006 20:37:32 +0900
+ -- Junichi Uekawa <dancer@debian.org> Sun, 11 Jun 2006 00:03:27 +0900
pbuilder (0.154) unstable; urgency=low
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 5597988..2b696a3 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -56,8 +56,8 @@ extractbuildplace
trap umountproc_cleanbuildplace exit
loadhooks
-if [ -n "${BUILDRESULT}" ]; then
- echo " -> created buildresult dir :${BUILDRESULT}"
+if [ ! -d "${BUILDRESULT}" ]; then
+ echo " -> created buildresult dir: ${BUILDRESULT}"
mkdir -p "${BUILDRESULT}"
fi