From ea23ab7c6ac5a229216af1521253f45cbcb556e4 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 19 Apr 2011 12:35:25 +0300 Subject: 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. --- pdebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdebuild') 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 -- cgit v1.2.3