summaryrefslogtreecommitdiff
path: root/gis/viking
diff options
context:
space:
mode:
Diffstat (limited to 'gis/viking')
-rw-r--r--gis/viking/viking.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/viking/viking.SlackBuild b/gis/viking/viking.SlackBuild
index d3d33223e0..41cb5f23fe 100644
--- a/gis/viking/viking.SlackBuild
+++ b/gis/viking/viking.SlackBuild
@@ -24,6 +24,8 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=viking
VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}