aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
diff options
context:
space:
mode:
authorPeter Eisentraut <petere@debian.org>2011-04-19 12:35:25 +0300
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-01-26 06:39:46 +0900
commitea23ab7c6ac5a229216af1521253f45cbcb556e4 (patch)
tree19ac05bed425a8a4d848b77fbe15ca9c820a9440 /pdebuild
parent0c563c8c7f94506e57e7fda9e508a4a7f896e2e1 (diff)
downloadpbuilder-ea23ab7c6ac5a229216af1521253f45cbcb556e4.tar
pbuilder-ea23ab7c6ac5a229216af1521253f45cbcb556e4.tar.gz
Bug#623321: pdebuild needs to strip debbuildopts -A and -F
Package: pbuilder Version: 0.199+nmu3 Severity: normal Tags: patch pdebuild has some code that strips the options -b and -B from --debbuildopts before calling dpkg-buildpackage -S, because that would conflict. It should do the same for the options -A and -F, because they have the same issue. Patch attached.
Diffstat (limited to 'pdebuild')
-rw-r--r--pdebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdebuild b/pdebuild
index 528ad01..35966bd 100644
--- a/pdebuild
+++ b/pdebuild
@@ -58,7 +58,7 @@ else
if ! dpkg-checkbuilddeps -B ; then
log "W: Unmet build-dependency in source"
fi
- echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | perl -pe 's/(^|\s)-[bB](\s|$)/$1$2/g' | /bin/bash
+ echo "dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | perl -pe 's/(^|\s)-[AbBF](\s|$)/$1$2/g' | /bin/bash
${PBUILDERROOTCMD} ${PDEBUILD_PBUILDER} --build ${EXTRA_CONFIGFILE[@]/#/--configfile } --buildresult "${BUILDRESULT}" --debbuildopts "" --debbuildopts "${DEBBUILDOPTS}" "$@" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc
fi