From 3ce48cbcea71ca135735cb0d918628db2e6a938f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 17 May 2017 19:20:58 +0000 Subject: development/nwjs: Fixed arch handling. Signed-off-by: David Spencer --- development/nwjs/nwjs.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'development/nwjs') diff --git a/development/nwjs/nwjs.SlackBuild b/development/nwjs/nwjs.SlackBuild index d8cd1db3ce04..9e3855a923a2 100644 --- a/development/nwjs/nwjs.SlackBuild +++ b/development/nwjs/nwjs.SlackBuild @@ -41,10 +41,13 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then +if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then SUFFIX="linux-ia32" elif [ "$ARCH" = "x86_64" ]; then SUFFIX="linux-x64" +else + echo "$ARCH is not supported." >&2 + exit 1 fi set -e -- cgit v1.2.3