summaryrefslogtreecommitdiff
path: root/network/tnftp
diff options
context:
space:
mode:
Diffstat (limited to 'network/tnftp')
-rw-r--r--network/tnftp/tnftp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/tnftp/tnftp.SlackBuild b/network/tnftp/tnftp.SlackBuild
index ac8b3b6c09..43c8e226d1 100644
--- a/network/tnftp/tnftp.SlackBuild
+++ b/network/tnftp/tnftp.SlackBuild
@@ -30,6 +30,8 @@
# - Build with optional SOCKS support if dante is installed.
# - Script simplification.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tnftp
VERSION=${VERSION:-20200705}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}