From ab2e6d6fdd2838321e48160275c224c1b4596091 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 17 Aug 2021 16:24:05 +0300 Subject: [PATCH] find -exec optimization --- makedist.sh | 4 ++-- www.do | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/makedist.sh b/makedist.sh index ef291b3..9a97332 100755 --- a/makedist.sh +++ b/makedist.sh @@ -70,8 +70,8 @@ rm -f \ perl -i -npe "s/build/build -mod=vendor/" default.do perl -i -npe "s/test/test -mod=vendor/" bench.do -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; +find . -type d -exec chmod 755 {} + +find . -type f -exec chmod 644 {} + chmod +x contrib/do cd .. diff --git a/www.do b/www.do index 030dc6b..8dbbb22 100644 --- a/www.do +++ b/www.do @@ -14,5 +14,5 @@ ${MAKEINFO:-makeinfo} --html \ --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \ --set-customization-variable OPEN_QUOTE_SYMBOL=\" \ -o $html www.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 {} + -- 2.44.0