aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorD Woodfall <dave@slackbuilds.org>2023-05-16 20:15:20 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:57 +0700
commit01d7a5348398207833b9f0bad2f6f534ee09f992 (patch)
treebdf12d45711888574e89d99bc4116eb7619f4fb6 /academic
parentf996da8c61bafc409b0b61343220884a79e03b09 (diff)
academic/CAFS_divergence: Fix ARCH section.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/CAFS_divergence/CAFS_divergence.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/academic/CAFS_divergence/CAFS_divergence.SlackBuild b/academic/CAFS_divergence/CAFS_divergence.SlackBuild
index e69a064cabd8..0afc945503a6 100644
--- a/academic/CAFS_divergence/CAFS_divergence.SlackBuild
+++ b/academic/CAFS_divergence/CAFS_divergence.SlackBuild
@@ -33,11 +33,13 @@ TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i386 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+ ARCH=$( uname -m )
+fi
+
+# 2023-05-16 DW: 64bit only
+if [ "$ARCH" != "x86_64" ]; then
+ printf "\n$ARCH is not supported... \n"
+ exit 1
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
@@ -54,11 +56,6 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-if [ "$ARCH" != "i386" ] && [ "$ARCH" != "x86_64" ]; then
- printf "\n\n$ARCH is not supported... \n"
- exit 1
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP