diff options
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 3 |
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" |