From 67d784a6c4e0b38ce0eceda63d8eadb4ec0fe76b Mon Sep 17 00:00:00 2001 From: dancer Date: Sat, 10 Jun 2006 15:05:12 +0000 Subject: * 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. --- pbuilder-buildpackage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pbuilder-buildpackage') 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 -- cgit v1.2.3