Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-15 11:56:37 +0100
committerErich Eckner <git@eckner.net>2020-01-15 11:56:37 +0100
commit3255a141f22288660ec5b2d1df59345f52ae2392 (patch)
tree59499ceed0eb2d36432cef4f10660bc0f7336471 /archiso/mkarchiso
parentd796edc7dc0221fed51d81f48a6ac6cc21f987a4 (diff)
archiso/mkarchiso: use value of $arch if provided by envcross
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 567a5af..36d7e3b 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -5,7 +5,7 @@ set -e -u
export LANG=C
app_name=${0##*/}
-arch=$(uname -m)
+arch=${arch:-$(uname -m)}
pkg_list=""
run_cmd=""
quiet="y"