summaryrefslogtreecommitdiff
path: root/system/pv/pv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pv/pv.SlackBuild')
-rw-r--r--system/pv/pv.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/pv/pv.SlackBuild b/system/pv/pv.SlackBuild
index e9b393df78..0d69e502e5 100644
--- a/system/pv/pv.SlackBuild
+++ b/system/pv/pv.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-2}
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
@@ -52,7 +50,7 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT