aboutsummaryrefslogtreecommitdiff
path: root/network/LOIC/LOIC.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/LOIC/LOIC.SlackBuild')
-rw-r--r--network/LOIC/LOIC.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/LOIC/LOIC.SlackBuild b/network/LOIC/LOIC.SlackBuild
index 89c1af8e8d676..44122c34521be 100644
--- a/network/LOIC/LOIC.SlackBuild
+++ b/network/LOIC/LOIC.SlackBuild
@@ -29,6 +29,8 @@
# caught. This script is released for educational purposes only. #
###############################################################################
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=LOIC
BINNAM=loic
VERSION=${VERSION:-2.0.0.4}
@@ -37,7 +39,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}