summaryrefslogtreecommitdiff
path: root/libraries/netcdf/netcdf.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-07-04 19:41:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-09 08:00:35 +0700
commitac6becac735bf8c077c7d33f678ff2b3a9e2f38f (patch)
tree4aa841c059be0e3b22dd1e59affa0aa0c75613d3 /libraries/netcdf/netcdf.SlackBuild
parentbf745aa73616df7d4b3cf870b7fbe3e47a5ff59f (diff)
downloadslackbuilds-ac6becac735bf8c077c7d33f678ff2b3a9e2f38f.tar.gz
libraries/netcdf: Updated for version 4.4.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'libraries/netcdf/netcdf.SlackBuild')
-rw-r--r--libraries/netcdf/netcdf.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild
index 6a516db5b0..96460017e0 100644
--- a/libraries/netcdf/netcdf.SlackBuild
+++ b/libraries/netcdf/netcdf.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=netcdf
SRCNAM=netcdf-c
-VERSION=${VERSION:-4.4.0}
+VERSION=${VERSION:-4.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,11 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-if [ -f $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \