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