diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-03 14:00:08 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:47:33 +0700 |
commit | a11140e05dec71af21495f2d704c91a5b1fb3426 (patch) | |
tree | 106049cc93006f242a154a9ee46bb4441c69b899 /misc/OSCAR/OSCAR.SlackBuild | |
parent | 49822aed904862321e3999d178e6d0724d7efdee (diff) |
misc/OSCAR: Fix slack-desc, remove template comments from script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'misc/OSCAR/OSCAR.SlackBuild')
-rw-r--r-- | misc/OSCAR/OSCAR.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/misc/OSCAR/OSCAR.SlackBuild b/misc/OSCAR/OSCAR.SlackBuild index 48cf8f56dbdd..abd11023e8c2 100644 --- a/misc/OSCAR/OSCAR.SlackBuild +++ b/misc/OSCAR/OSCAR.SlackBuild @@ -27,20 +27,18 @@ VERSION=${VERSION:-1.0.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=i586 ;; 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} # For consistency's sake, use this +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp +OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -56,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e PRGSRC_NAME=$PRGNAM-code-v$VERSION-Release-1 rm -rf $PKG |