aboutsummaryrefslogtreecommitdiff
path: root/network/nsca/nsca.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nsca/nsca.SlackBuild')
-rw-r--r--network/nsca/nsca.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nsca/nsca.SlackBuild b/network/nsca/nsca.SlackBuild
index 416517de17203..0a5e12e35c67d 100644
--- a/network/nsca/nsca.SlackBuild
+++ b/network/nsca/nsca.SlackBuild
@@ -5,6 +5,8 @@
# Written by Bas Couwenberg <sebastic@xs4all.nl>
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nsca
VERSION=${VERSION:-2.9.2}
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}