summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 06:03:16 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:50 +0000
commit87900d3d66b288d236f25888a68030a0cede706d (patch)
tree8c0cf54ea59a4295da4efb4c2ec4ba67801579ad /academic
parent78c76e5ca3a1296c6db34668c7caf72d3e3aec5c (diff)
downloadslackbuilds-87900d3d66b288d236f25888a68030a0cede706d.tar.gz
academic/loggerpro: Remove template comments, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/loggerpro/loggerpro.SlackBuild8
1 files 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