summaryrefslogtreecommitdiffstats
path: root/network/wmnd/wmnd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/wmnd/wmnd.SlackBuild')
-rw-r--r--network/wmnd/wmnd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/wmnd/wmnd.SlackBuild b/network/wmnd/wmnd.SlackBuild
index e600675b8f..2425156392 100644
--- a/network/wmnd/wmnd.SlackBuild
+++ b/network/wmnd/wmnd.SlackBuild
@@ -36,6 +36,8 @@
# - don't install INSTALL in docdir
# - fix path to example config in man page
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmnd
VERSION=${VERSION:-0.4.17}
BUILD=${BUILD:-2}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}