diff options
Diffstat (limited to 'lame/build/lame.SlackBuild')
-rwxr-xr-x | lame/build/lame.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lame/build/lame.SlackBuild b/lame/build/lame.SlackBuild index 2f66b74e..422f3622 100755 --- a/lame/build/lame.SlackBuild +++ b/lame/build/lame.SlackBuild @@ -70,13 +70,6 @@ SRCURL="http://downloads.sourceforge.net/${PRGNAM}/${PRGNAM}-${SRCVER}.tar.gz" ## --- with a little luck, you won't have to edit below this point --- ## ## -# Exit the script on errors: -set -e -trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR -# Catch unitialized variables: -set -u -P1=${1:-1} - # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -99,6 +92,13 @@ case "$ARCH" in ;; esac +# Exit the script on errors: +set -e +trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR +# Catch unitialized variables: +set -u +P1=${1:-1} + # Create working directories: mkdir -p $TMP/tmp-$PRGNAM # location to build the source rm -rf $TMP/tmp-$PRGNAM/* # remove the remnants of previous build: |