aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2011-02-19 19:29:19 +0000
committerJunichi Uekawa <dancer@netfort.gr.jp>2011-06-24 19:32:19 +0900
commitb82c625202cbb0a46f47bb4eb7c25eac8eb8bb54 (patch)
tree657e34131a99a2c03b007f6df9061111b330914e /pbuilder-buildpackage
parentb8ba16bbb5354d65c6857df64b8488578ca648f7 (diff)
downloadpbuilder-b82c625202cbb0a46f47bb4eb7c25eac8eb8bb54.tar
pbuilder-b82c625202cbb0a46f47bb4eb7c25eac8eb8bb54.tar.gz
Bug#606699: pbuilder NMU
Hi, I talked to Junichi and he told me it was fine if I NMU'ed pbuilder to fix these bugs. This is the debdiff for my NMU. Regards, Emilio
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage3
1 files changed, 3 insertions, 0 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index b8e2446..8b42b6d 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -31,6 +31,9 @@ if [ ! -f "$PACKAGENAME" ]; then
exit 1;
fi;
+# check if this package should be built at all
+checkarchitecture "$PACKAGENAME"
+
if [ -n "$BUILDUSERNAME" -a -n "$BUILDUSERID" ]; then
SUTOUSER="env LOGNAME=$BUILDUSERNAME su -p $BUILDUSERNAME"
DEBBUILDOPTS="${DEBBUILDOPTS:+$DEBBUILDOPTS }-rfakeroot"