summaryrefslogtreecommitdiffstats
path: root/audio/xmms-ladspa/xmms-ladspa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-ladspa/xmms-ladspa.SlackBuild')
-rw-r--r--audio/xmms-ladspa/xmms-ladspa.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/xmms-ladspa/xmms-ladspa.SlackBuild b/audio/xmms-ladspa/xmms-ladspa.SlackBuild
index 693fc86aed..1cfbd1b690 100644
--- a/audio/xmms-ladspa/xmms-ladspa.SlackBuild
+++ b/audio/xmms-ladspa/xmms-ladspa.SlackBuild
@@ -18,6 +18,8 @@
# - The source is called xmms_ladspa. I chose to use xmms-ladspa for
# PRGNAM so it'll match all the other xmms-* builds on SBo.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmms-ladspa
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}