diff options
Diffstat (limited to 'network/nload/nload.SlackBuild')
-rw-r--r-- | network/nload/nload.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/network/nload/nload.SlackBuild b/network/nload/nload.SlackBuild index 0781190b0d..83aea00e5d 100644 --- a/network/nload/nload.SlackBuild +++ b/network/nload/nload.SlackBuild @@ -10,18 +10,16 @@ VERSION=0.7.2 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} @@ -39,7 +37,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |