From 211eabcc0b69839306735249d2ddadd03ca3e930 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 9 Nov 2015 19:50:57 +0000 Subject: pdebuild: hack dpkg-buildpackage command to remove a possible '-g' or '-G' when building the source package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #802800 Thanks: Guido Günther for the first patch --- pdebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} \ -- cgit v1.2.3