aboutsummaryrefslogtreecommitdiff
path: root/network/dhcping/dhcping.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dhcping/dhcping.SlackBuild')
-rw-r--r--network/dhcping/dhcping.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/dhcping/dhcping.SlackBuild b/network/dhcping/dhcping.SlackBuild
index dc751a1f0fbd..ad724b871c63 100644
--- a/network/dhcping/dhcping.SlackBuild
+++ b/network/dhcping/dhcping.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for dhcping
# Written by Michal Bialozor <bialyy@o2.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dhcping
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}