summaryrefslogtreecommitdiffstats
path: root/audio/ncmpc/ncmpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ncmpc/ncmpc.SlackBuild')
-rw-r--r--audio/ncmpc/ncmpc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/ncmpc/ncmpc.SlackBuild b/audio/ncmpc/ncmpc.SlackBuild
index 5b49fba9d1..26aa29fc9b 100644
--- a/audio/ncmpc/ncmpc.SlackBuild
+++ b/audio/ncmpc/ncmpc.SlackBuild
@@ -25,6 +25,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ncmpc
VERSION=${VERSION:-0.24}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}