Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso3
1 files changed, 3 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index f6b3395..63c2364 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -13,6 +13,9 @@ export SOURCE_DATE_EPOCH
# Set application name from the script's file name
app_name="${0##*/}"
+# pass architecture via environment
+arch=${arch:-$(uname -m)}
+
# Define global variables. All of them will be overwritten later
pkg_list=()
bootstrap_pkg_list=()