aboutsummaryrefslogtreecommitdiff
path: root/network/enet/enet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/enet/enet.SlackBuild')
-rw-r--r--network/enet/enet.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/enet/enet.SlackBuild b/network/enet/enet.SlackBuild
index a7ecd3f203f2..1547e631de80 100644
--- a/network/enet/enet.SlackBuild
+++ b/network/enet/enet.SlackBuild
@@ -9,18 +9,16 @@ VERSION=${VERSION:-1.2.1}
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 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -38,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT