mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
development/nwjs: Fixed arch handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
58173a8e3c
commit
31e1f92985
1 changed files with 4 additions and 1 deletions
|
@ -41,10 +41,13 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i586" ]; then
|
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
||||||
SUFFIX="linux-ia32"
|
SUFFIX="linux-ia32"
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SUFFIX="linux-x64"
|
SUFFIX="linux-x64"
|
||||||
|
else
|
||||||
|
echo "$ARCH is not supported." >&2
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
Loading…
Reference in a new issue