aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2006-06-10 15:05:12 +0000
committerdancer <dancer>2006-06-10 15:05:12 +0000
commit67d784a6c4e0b38ce0eceda63d8eadb4ec0fe76b (patch)
tree30b22a79f06d3f02c2e5df1fc7d69070ee1cd59d /pbuilder-buildpackage
parent4d6220c0d2e3abdcf247838168591e9d5e4a078b (diff)
downloadpbuilder-67d784a6c4e0b38ce0eceda63d8eadb4ec0fe76b.tar
pbuilder-67d784a6c4e0b38ce0eceda63d8eadb4ec0fe76b.tar.gz
* 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.
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 2 insertions, 2 deletions
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