diff options
Diffstat (limited to 'libraries/netcdf/netcdf.SlackBuild')
-rw-r--r-- | libraries/netcdf/netcdf.SlackBuild | 8 |
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 . \ |