diff options
Diffstat (limited to 'development/latrace/latrace.SlackBuild')
-rw-r--r-- | development/latrace/latrace.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild index 49ec7609e0e7..b6254102b3d6 100644 --- a/development/latrace/latrace.SlackBuild +++ b/development/latrace/latrace.SlackBuild @@ -14,12 +14,10 @@ VERSION=${VERSION:-0.5.11} 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 @@ -41,9 +39,9 @@ elif [ "$ARCH" = "x86_64" ]; then else SLKCFLAGS="-O2" LIBDIRSUFFIX="" -fi +fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |