aboutsummaryrefslogtreecommitdiff
path: root/audio/alsa-tools/alsa-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/alsa-tools/alsa-tools.SlackBuild')
-rw-r--r--audio/alsa-tools/alsa-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/alsa-tools/alsa-tools.SlackBuild b/audio/alsa-tools/alsa-tools.SlackBuild
index 7b63aa4f835ad..444702cad6980 100644
--- a/audio/alsa-tools/alsa-tools.SlackBuild
+++ b/audio/alsa-tools/alsa-tools.SlackBuild
@@ -33,6 +33,8 @@
# 20140219 bkw: fix .desktop files so they validate
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=alsa-tools
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
@@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}