diff options
Diffstat (limited to 'system/zeroinstall-injector/zeroinstall-injector.SlackBuild')
-rw-r--r-- | system/zeroinstall-injector/zeroinstall-injector.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/system/zeroinstall-injector/zeroinstall-injector.SlackBuild b/system/zeroinstall-injector/zeroinstall-injector.SlackBuild index 3a7d551117..6911bde17c 100644 --- a/system/zeroinstall-injector/zeroinstall-injector.SlackBuild +++ b/system/zeroinstall-injector/zeroinstall-injector.SlackBuild @@ -5,26 +5,24 @@ # Maintained by Erik Hanson erik@slackbuilds.org PRGNAM=zeroinstall-injector -VERSION=0.47 +VERSION=0.48 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + 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} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |