diff options
-rw-r--r-- | academic/CAFS_divergence/CAFS_divergence.SlackBuild | 17 |
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 |