summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-14 09:03:16 +0200
committerErich Eckner <git@eckner.net>2018-03-24 21:04:37 +0100
commit335bc4b2efe1aa62fa601cdb624ffd617480e611 (patch)
treea2fa5ed982f4402561b584c8a8bff1213fd16e47 /archbuild.in
parentd9182b896ae317ab53d8b3473b469b96f140f704 (diff)
downloaddevtools-335bc4b2efe1aa62fa601cdb624ffd617480e611.tar.xz
archbuild: add --arch=$CARCH to pacman options
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index 1e5b582..0ac3c29 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -71,7 +71,7 @@ else
-C "@pkgdatadir@/pacman-${repo}.conf" \
-M "@pkgdatadir@/makepkg-${arch}.conf" \
"${chroots}/${repo}-${arch}/root" \
- pacman -Syu --noconfirm || abort
+ pacman --arch ${arch} -Syu --noconfirm || abort
fi
# Always build official packages reproducibly