aboutsummaryrefslogtreecommitdiff
path: root/network/atftp/atftp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/atftp/atftp.SlackBuild')
-rw-r--r--network/atftp/atftp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/atftp/atftp.SlackBuild b/network/atftp/atftp.SlackBuild
index 5103e04a9696..335a3cdba19f 100644
--- a/network/atftp/atftp.SlackBuild
+++ b/network/atftp/atftp.SlackBuild
@@ -33,6 +33,8 @@
# - Expand README with hopefully useful setup info. Include it in
# the package since it overrides some of the info from upstream's docs.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=atftp
VERSION=${VERSION:-0.7.4}
BUILD=${BUILD:-1}
@@ -46,7 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}