aboutsummaryrefslogtreecommitdiff
path: root/network/w3m
diff options
context:
space:
mode:
Diffstat (limited to 'network/w3m')
-rw-r--r--network/w3m/w3m.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/w3m/w3m.SlackBuild b/network/w3m/w3m.SlackBuild
index 95f40cd5b9d1f..0cd78fd9948e6 100644
--- a/network/w3m/w3m.SlackBuild
+++ b/network/w3m/w3m.SlackBuild
@@ -23,6 +23,8 @@
# Much appreciation to the debian maintainers for keeping w3m alive and
# patched https://packages.debian.org/stretch/w3m
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=w3m
VERSION=${VERSION:-0.5.3_37}
PATCHVERSION=$(echo $VERSION | sed "s/_/-/g")
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}