aboutsummaryrefslogtreecommitdiff
path: root/audio/dcaenc/dcaenc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/dcaenc/dcaenc.SlackBuild')
-rw-r--r--audio/dcaenc/dcaenc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/dcaenc/dcaenc.SlackBuild b/audio/dcaenc/dcaenc.SlackBuild
index facb7eeafbee9..229429c8a0c3a 100644
--- a/audio/dcaenc/dcaenc.SlackBuild
+++ b/audio/dcaenc/dcaenc.SlackBuild
@@ -10,6 +10,8 @@
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dcaenc
VERSION=${VERSION:-2}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}