summaryrefslogtreecommitdiff
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 13:48:57 +0100
commit5f4e06800dcd8bcf14a62e0799206eea01f3acbe (patch)
treead56abeaf9e991e10849d973c6700c184b7a4359
parent8f9e0bc4ebd75ad7fadec6ad22ae95afd347c889 (diff)
downloadarchiso32-5f4e06800dcd8bcf14a62e0799206eea01f3acbe.tar.xz
archiso/mkarchiso: use value of $arch if provided by envdual-v44.4
-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"