[Pkg-haskell-commits] [tools] 06/07: mass-build: pass --arch to sbuild
Joachim Breitner
nomeata at moszumanska.debian.org
Sun Dec 21 20:58:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch master
in repository tools.
commit 8ed4db80dcdf3f7be9641cabf37221069ce826fe
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Sun Dec 21 21:57:41 2014 +0100
mass-build: pass --arch to sbuild
---
mass-build.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mass-build.sh b/mass-build.sh
index b93e5ca..e9b46c0 100755
--- a/mass-build.sh
+++ b/mass-build.sh
@@ -61,6 +61,9 @@ then
exit 1
fi
+arch="$(schroot -c $schroot -- dpkg-architecture -qDEB_BUILD_ARCH)"
+echo "The schroot $schroot builds $arch packages."
+
echo "Finding out what to build..."
while [ -n "$1" ]
do
@@ -255,6 +258,7 @@ do
if sbuild --dist "$DISTRIBUTION" \
--chroot="$schroot" \
--build-dep-resolver=aptitude \
+ --arch=$arch \
--run-lintian \
--arch-all \
--no-apt-update \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/tools.git
More information about the Pkg-haskell-commits
mailing list