]> Cypherpunks.ru repositories - nncp.git/commitdiff
find -exec optimization
authorSergey Matveev <stargrave@stargrave.org>
Thu, 15 Jul 2021 11:42:53 +0000 (14:42 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 15 Jul 2021 11:42:53 +0000 (14:42 +0300)
makedist.sh

index 94f95c9b6487ce2c5c5352e35419086c330dabf5..4fa4796db0fc4e6381268816f10d1c2e08c1339d 100755 (executable)
@@ -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 ..