summaryrefslogtreecommitdiff
path: root/network/ipvsadm/ipvsadm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ipvsadm/ipvsadm.SlackBuild')
-rw-r--r--network/ipvsadm/ipvsadm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ipvsadm/ipvsadm.SlackBuild b/network/ipvsadm/ipvsadm.SlackBuild
index 4f268ca5db..3b1a00c39c 100644
--- a/network/ipvsadm/ipvsadm.SlackBuild
+++ b/network/ipvsadm/ipvsadm.SlackBuild
@@ -5,6 +5,8 @@
# 2010-2016 - Modified by the slackbuilds.org project
# 2020 - Modified by Marek Wodzinski <majek@w7i.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipvsadm
VERSION=${VERSION:-1.31}
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}