development/nwjs: Fixed arch handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
08e5ec3b69
commit
3ce48cbcea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue