summaryrefslogtreecommitdiff
path: root/libraries/netcdf
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/netcdf')
-rw-r--r--libraries/netcdf/netcdf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild
index 389d5f55c6..7899a976c6 100644
--- a/libraries/netcdf/netcdf.SlackBuild
+++ b/libraries/netcdf/netcdf.SlackBuild
@@ -25,6 +25,8 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
# Maintained by Gregory J. L. Tourte <artourter@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netcdf
SRCNAM=netcdf-c
VERSION=${VERSION:-4.7.4}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}