summaryrefslogtreecommitdiff
path: root/business
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-04 01:51:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-06 07:56:29 +0700
commit0b17a389cfcc4add197c26cfd9b4a94d9e0796fe (patch)
tree018cd14e365f724dffde6926ae137ab6b46437b1 /business
parentd71e470b39477b732056f7d977a2fc8377ffd4e3 (diff)
downloadslackbuilds-0b17a389cfcc4add197c26cfd9b4a94d9e0796fe.tar.gz
business/stansoft: Fix architecture naming.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'business')
-rw-r--r--business/stansoft/stansoft.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/business/stansoft/stansoft.SlackBuild b/business/stansoft/stansoft.SlackBuild
index ad9edff021..d549462c16 100644
--- a/business/stansoft/stansoft.SlackBuild
+++ b/business/stansoft/stansoft.SlackBuild
@@ -62,13 +62,13 @@ OUTPUT=${OUTPUT:-/tmp}
# No flags/configure needed as it is just a binary repackaging,
# but we will make sure the correct ARCH package is used.
if [ "$ARCH" = "i586" ]; then
- ARCH=x86
+ SARCH=x86
elif [ "$ARCH" = "i686" ]; then
- ARCH=x86
+ SARCH=x86
elif [ "$ARCH" = "x86_64" ]; then
- ARCH=$ARCH
+ SARCH=$ARCH
else
- ARCH=x86_64
+ SARCH=x86_64
fi
set -e
@@ -76,7 +76,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG/opt $OUTPUT
cd $PKG/opt
-tar xvf $CWD/$PRGNAM-v$VERSION-$ARCH.tar.bz2
+tar xvf $CWD/$PRGNAM-v$VERSION-$SARCH.tar.bz2
cd $PKG
chown -R root:root .
find -L . \