aboutsummaryrefslogtreecommitdiff
path: root/network/dnscrypt-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'network/dnscrypt-wrapper')
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
index 57b3b7de9014..6fef95a89fe4 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
@@ -24,6 +24,8 @@
# Thanks to Larry Hajali for the logrotate configuration
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dnscrypt-wrapper
VERSION=${VERSION:-0.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}