aboutsummaryrefslogtreecommitdiff
path: root/network/DenyHosts/DenyHosts.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/DenyHosts/DenyHosts.SlackBuild')
-rw-r--r--network/DenyHosts/DenyHosts.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/DenyHosts/DenyHosts.SlackBuild b/network/DenyHosts/DenyHosts.SlackBuild
index 57c6cde8797be..49ba75cff055d 100644
--- a/network/DenyHosts/DenyHosts.SlackBuild
+++ b/network/DenyHosts/DenyHosts.SlackBuild
@@ -35,6 +35,8 @@
# programs have moved to /usr/sbin. Also iptables support
# has been added.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=DenyHosts
LCPRGNAM=denyhosts
VERSION=${VERSION:-3.1}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}