From 8fb7952b929f17538522c5a03774d8b8f81b09ee Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 18 Jul 2021 14:42:06 +0300 Subject: [PATCH] find -exec optimization --- doc/www.do | 4 ++-- makedist.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/www.do b/doc/www.do index ca97c6c..660e142 100644 --- a/doc/www.do +++ b/doc/www.do @@ -13,5 +13,5 @@ ${MAKEINFO:=makeinfo} --html \ --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \ --set-customization-variable OPEN_QUOTE_SYMBOL=\" \ -o $html index.texi -find $html -type d -exec chmod 755 {} \; -find $html -type f -exec chmod 644 {} \; +find $html -type d -exec chmod 755 {} + +find $html -type f -exec chmod 644 {} + diff --git a/makedist.sh b/makedist.sh index 85d8153..8fcafa7 100755 --- a/makedist.sh +++ b/makedist.sh @@ -77,10 +77,10 @@ cd .. ######################################################################## rm -rf *.texi .redo .git .gitignore doc makedist.sh VERSION.do -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; -find t/redo-sh.tests -name test -exec chmod +x {} \+ -find t -name wrapper.rc -exec chmod +x {} \+ +find . -type d -exec chmod 755 {} + +find . -type f -exec chmod 644 {} + +find t/redo-sh.tests -name test -exec chmod +x {} + +find t -name wrapper.rc -exec chmod +x {} + chmod +x t/apenwarr/sleep t/goredo-*.t cd .. -- 2.44.0