]> Cypherpunks.ru repositories - gogost.git/commitdiff
find -exec optimization
authorSergey Matveev <stargrave@stargrave.org>
Tue, 17 Aug 2021 13:24:05 +0000 (16:24 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 17 Aug 2021 13:24:53 +0000 (16:24 +0300)
makedist.sh
www.do

index ef291b3490d1ea485802f05699bdb65110b4baa7..9a97332459295d7bb6a281ac315c383349aa83b4 100755 (executable)
@@ -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
 
 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 ..
 chmod +x contrib/do
 
 cd ..
diff --git a/www.do b/www.do
index 030dc6b9d66cc938201c7cfdc60bcb529a61f4b9..8dbbb2215c844f353dff0d48a1e4f274d529910e 100644 (file)
--- 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
     --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 {} +