From 59ae65031d0011c769224ce294a7fc4c859bc111 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 15 Jul 2021 14:42:53 +0300 Subject: [PATCH] find -exec optimization --- makedist.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makedist.sh b/makedist.sh index 94f95c9..4fa4796 100755 --- a/makedist.sh +++ b/makedist.sh @@ -104,9 +104,9 @@ perl -i -npe "s/GO test/GO test -mod=vendor/" test.do rm makedist.sh VERSION.do rm -r .git redo-cleanup full -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; -find . -type f -name "*.sh" -exec chmod +x {} \; +find . -type d -exec chmod 755 {} + +find . -type f -exec chmod 644 {} + +find . -type f -name "*.sh" -exec chmod +x {} + chmod +x contrib/do cd .. -- 2.44.0