diff options
author | B. Watson <yalhcru@gmail.com> | 2020-11-05 02:16:12 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-07 14:02:36 +0700 |
commit | dac532617dff3045add6a01430fa86bd14138690 (patch) | |
tree | 3281a2d7522a347306742cc5379c1b7a60542451 | |
parent | febab13ee7542b5f0a1ddf57b11b6f272461ac0a (diff) | |
download | slackbuilds-dac532617dff3045add6a01430fa86bd14138690.tar.gz |
development/gnulib: Find/chmod speedup.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/gnulib/gnulib.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/development/gnulib/gnulib.SlackBuild b/development/gnulib/gnulib.SlackBuild index a146a480b8..fa218fdaea 100644 --- a/development/gnulib/gnulib.SlackBuild +++ b/development/gnulib/gnulib.SlackBuild @@ -58,11 +58,8 @@ rm -rf $PRGNAM-${VERSION/+/-}-stable tar xvf $CWD/${PRGNAM}_$VERSION+stable.orig.tar.gz cd $PRGNAM-${VERSION/+/-}-stable 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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ find . \( -name '.git*' -o -name '.cvs*' \) -print0 | xargs -0 rm -rf |