summaryrefslogtreecommitdiff
path: root/archiso-cross/default-arch-value.patch
blob: 4d7fc19cb4c2df2ce84cedb9054482ae375f1b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"