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