summaryrefslogtreecommitdiff
path: root/network/nrpe/nrpe.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nrpe/nrpe.SlackBuild')
-rw-r--r--network/nrpe/nrpe.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nrpe/nrpe.SlackBuild b/network/nrpe/nrpe.SlackBuild
index 87b72c2c0c..aab58bf95a 100644
--- a/network/nrpe/nrpe.SlackBuild
+++ b/network/nrpe/nrpe.SlackBuild
@@ -5,6 +5,8 @@
# Written by Zordrak <slackbuilds@tpa.me.uk>
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nrpe
VERSION=${VERSION:-2.15}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}