From a0e5de5adfdc424dbe6b8ffd40432ae4cf291a62 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 23 Jun 2024 18:18:33 +0200 Subject: only set ARCH if not externally set --- mkimage-arch.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mkimage-arch.sh b/mkimage-arch.sh index 9e13cf6..bfb8181 100755 --- a/mkimage-arch.sh +++ b/mkimage-arch.sh @@ -4,10 +4,12 @@ # requires root set -e -# adapt to the flavour of Archlinux32 you need -ARCHITECTURE=pentium4 -#ARCHITECTURE=i686 -#ARCHITECTURE=i486 +if [ -z "${ARCHITECTURE}" ]; then + # adapt to the flavour of Archlinux32 you need + ARCHITECTURE=pentium4 + #ARCHITECTURE=i686 + #ARCHITECTURE=i486 +fi DOCKER=docker #DOCKER=podman -- cgit v1.2.3-70-g09d2