aboutsummaryrefslogtreecommitdiff
path: root/audio/mt-daapd/mt-daapd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mt-daapd/mt-daapd.SlackBuild')
-rw-r--r--audio/mt-daapd/mt-daapd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/mt-daapd/mt-daapd.SlackBuild b/audio/mt-daapd/mt-daapd.SlackBuild
index 628ca529cc5a1..fb9a75b44d611 100644
--- a/audio/mt-daapd/mt-daapd.SlackBuild
+++ b/audio/mt-daapd/mt-daapd.SlackBuild
@@ -24,6 +24,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mt-daapd
VERSION=${VERSION:-0.2.4.2}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}