aboutsummaryrefslogtreecommitdiff
path: root/multimedia/nted
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/nted')
-rw-r--r--multimedia/nted/nted.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild
index 3893c8faefda..d37d4b96568f 100644
--- a/multimedia/nted/nted.SlackBuild
+++ b/multimedia/nted/nted.SlackBuild
@@ -34,6 +34,8 @@
# 20170621 bkw: fix build on -current (gcc7's pickier, use -Wno-narrowing)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nted
VERSION=${VERSION:-1.10.18_12}
BUILD=${BUILD:-1}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}