diff options
-rw-r--r-- | development/zulu-openjdk11/zulu-openjdk11.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/development/zulu-openjdk11/zulu-openjdk11.SlackBuild b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild index 377daa2754bfa..9413edf6efa9c 100644 --- a/development/zulu-openjdk11/zulu-openjdk11.SlackBuild +++ b/development/zulu-openjdk11/zulu-openjdk11.SlackBuild @@ -31,12 +31,12 @@ BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i686 ;; - x86_64) ARCH=x64 ;; - esac -fi +ARCH=${ARCH:-$(uname -m)} + +case "${ARCH}" in + i?86) ARCH=i686 ;; + x86_64) ARCH=x64 ;; +esac if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" |