aboutsummaryrefslogtreecommitdiff
path: root/network/ttcp/ttcp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ttcp/ttcp.SlackBuild')
-rw-r--r--network/ttcp/ttcp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ttcp/ttcp.SlackBuild b/network/ttcp/ttcp.SlackBuild
index 59b9f3896343..ee97c006af28 100644
--- a/network/ttcp/ttcp.SlackBuild
+++ b/network/ttcp/ttcp.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ttcp
VERSION=${VERSION:-1.12}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}