aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
diff options
context:
space:
mode:
authordancer <dancer>2005-10-20 14:30:40 +0000
committerdancer <dancer>2005-10-20 14:30:40 +0000
commit62cf4e318bdd03f3c4c7fd934cf5bee762ed634d (patch)
treee262e0db821a2109ff21cd0f507c54bcdbdb95c8 /pdebuild
parentc6ba95fedf920633514e00d2cc6aa13d755c60bb (diff)
downloadpbuilder-62cf4e318bdd03f3c4c7fd934cf5bee762ed634d.tar
pbuilder-62cf4e318bdd03f3c4c7fd934cf5bee762ed634d.tar.gz
#312121 fix and release 0.136
Diffstat (limited to 'pdebuild')
-rw-r--r--pdebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdebuild b/pdebuild
index 7b91280..69e3757 100644
--- a/pdebuild
+++ b/pdebuild
@@ -42,7 +42,7 @@ else
if ! dpkg-checkbuilddeps -B ; then
echo "W: Unmet build-dependency in source"
fi
- echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | /bin/bash
+ echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | perl -pe 's/(^|\s)-[bB](\s|$)/$1$2/g' | /bin/bash
${PBUILDERROOTCMD} pbuilder build "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}" --debbuildopts "${DEBBUILDOPTS}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
fi