Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-03 15:02:54 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-03 15:02:54 +0100
commit8617710e0fb74229f684de930a3ae4b09efe8c40 (patch)
tree60c0a78e41f361de51236ee140eacf6e7ca8bd99
parent20f6c4c9f2733d6bf817199c60958618c274dce4 (diff)
correctly overwirte the arch variable
-rwxr-xr-xarchiso/mkarchiso7
1 files changed, 3 insertions, 4 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 63c2364..e7f52b3 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -13,9 +13,6 @@ 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=()
@@ -30,7 +27,9 @@ iso_publisher=""
iso_application=""
iso_version=""
install_dir=""
-arch=""
+# pass architecture via environment from build-all
+arch=${arch:-$(uname -m)}
+#arch=""
pacman_conf=""
packages=""
bootstrap_packages=""