aboutsummaryrefslogtreecommitdiff
path: root/pdebuild
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-09 19:50:57 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-11-09 19:50:57 +0000
commit211eabcc0b69839306735249d2ddadd03ca3e930 (patch)
tree592f434fbb846c2614f77a4f6654d3f474087a98 /pdebuild
parente7cc7e7c6457e02ac0df7c87f853e0c5b826e99d (diff)
downloadpbuilder-211eabcc0b69839306735249d2ddadd03ca3e930.tar
pbuilder-211eabcc0b69839306735249d2ddadd03ca3e930.tar.gz
pdebuild: hack dpkg-buildpackage command to remove a possible '-g' or '-G' when building the source package
Closes: #802800 Thanks: Guido Günther <agx@sigxcpu.org> for the first patch
Diffstat (limited to 'pdebuild')
-rw-r--r--pdebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdebuild b/pdebuild
index c5ac78b..1264bff 100644
--- a/pdebuild
+++ b/pdebuild
@@ -76,7 +76,7 @@ else
log "W: Unmet build-dependency in source"
fi
echo "dpkg-buildpackage -S -d -us -uc -r${BUILDSOURCEROOTCMD} $DEBBUILDOPTS" | \
- perl -pe 's/(^|\s)-[AbBF](\s|$)/$1$2/g' | \
+ perl -pe 's/(^|\s)-[AbBFgG](\s|$)/$1$2/g' | \
/bin/bash
${PBUILDERROOTCMD} \
${PDEBUILD_PBUILDER} \