From 87900d3d66b288d236f25888a68030a0cede706d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 06:03:16 -0400 Subject: [PATCH] academic/loggerpro: Remove template comments, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- academic/loggerpro/loggerpro.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/academic/loggerpro/loggerpro.SlackBuild b/academic/loggerpro/loggerpro.SlackBuild index 47b9966182..bef9968019 100644 --- a/academic/loggerpro/loggerpro.SlackBuild +++ b/academic/loggerpro/loggerpro.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-3.8.4.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -42,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then +if [ "$ARCH" = "i586" ]; then SHORTARCH="32" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT