mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
system/mozilla-nss: Fixed architecture detection (made automatic)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
19eb609918
commit
4efe7dc1f1
1 changed files with 8 additions and 1 deletions
|
@ -27,10 +27,17 @@ SRCNAM=nss
|
|||
VERSION=${VERSION:-3.12.4}
|
||||
NSPR=${NSPR:-4.8}
|
||||
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
|
Loading…
Reference in a new issue