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>2021-02-14 14:55:32 +0100
commit5cb279e54d3504fb9f4af223c51adc0d121cc834 (patch)
tree3fa6199dad7890c79b2d27b9f73980f2264f4dbd /archiso/mkarchiso
parent7e8cc45a97331589de2fdedde34fd9639867f474 (diff)
archiso/mkarchiso: use value of $arch if provided by env
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 5e229a4..7b65cf6 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"