diff options
Diffstat (limited to 'libraries/lame')
-rw-r--r-- | libraries/lame/lame.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild index b4b32cdf1f6e8..6003dc0f9ae2c 100644 --- a/libraries/lame/lame.SlackBuild +++ b/libraries/lame/lame.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-3.99.5} 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 @@ -57,11 +55,11 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION |