aboutsummaryrefslogtreecommitdiff
path: root/audio/sonic-visualiser/sonic-visualiser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sonic-visualiser/sonic-visualiser.SlackBuild')
-rw-r--r--audio/sonic-visualiser/sonic-visualiser.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/sonic-visualiser/sonic-visualiser.SlackBuild b/audio/sonic-visualiser/sonic-visualiser.SlackBuild
index 62a2bf756b0e2..5b6b631937030 100644
--- a/audio/sonic-visualiser/sonic-visualiser.SlackBuild
+++ b/audio/sonic-visualiser/sonic-visualiser.SlackBuild
@@ -60,6 +60,8 @@
# - add MIME types for desktop integration
# - add realtime capabilities
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sonic-visualiser
VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
@@ -73,7 +75,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}