aboutsummaryrefslogtreecommitdiff
path: root/academic/cdo/cdo.SlackBuild
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2023-08-16 18:44:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-19 09:15:24 +0700
commitcb3c4eaa11b1aee44b7160f7a1c848b77fb18aad (patch)
treed493d53a580418d44c3b7c2b13fcc1cc5c5285ea /academic/cdo/cdo.SlackBuild
parent7f2da76677b6fba3846a952182810c2f598a4871 (diff)
academic/cdo: Updated for version 2.2.2.
Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/cdo/cdo.SlackBuild')
-rw-r--r--academic/cdo/cdo.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/academic/cdo/cdo.SlackBuild b/academic/cdo/cdo.SlackBuild
index 376c9b3f11ca2..eb2799e73c7af 100644
--- a/academic/cdo/cdo.SlackBuild
+++ b/academic/cdo/cdo.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cdo
-VERSION=${VERSION:-2.2.1}
+VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,10 +76,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \