aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ad9edff021139..d549462c16c92 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 . \