]> Cypherpunks.ru repositories - gocheese.git/commitdiff
Trivial shell optimizations
authorSergey Matveev <stargrave@stargrave.org>
Mon, 13 Sep 2021 20:48:18 +0000 (23:48 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 13 Sep 2021 20:48:18 +0000 (23:48 +0300)
makedist.sh
www.do

index 881d63438167233e693be7fd3bb4bcbaf8e33418..6eb38a71863ea0d32a8db36074e5d2fe957157d2 100755 (executable)
@@ -43,8 +43,8 @@ perl -i -npe "s/go} build/go} build -mod=vendor/" gocheese.do
 perl -i -npe "s/go} test/go} test -mod=vendor/" test.do
 cp ~/work/redo/minimal/do contrib/do
 
 perl -i -npe "s/go} test/go} test -mod=vendor/" test.do
 cp ~/work/redo/minimal/do contrib/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/pyshop2packages.sh contrib/do
 
 cd ..
 chmod +x contrib/pyshop2packages.sh contrib/do
 
 cd ..
diff --git a/www.do b/www.do
index 34f06bc6042a3f92170b6525adab57af0e392ca4..2f81bdea7fb716705443f09347dbb097827cbfa8 100644 (file)
--- a/www.do
+++ b/www.do
@@ -9,9 +9,8 @@ ${MAKEINFO:=makeinfo} --html \
     --set-customization-variable FORMAT_MENU=menu \
     --set-customization-variable SHOW_TITLE=0 \
     --set-customization-variable DATE_IN_HEADER=1 \
     --set-customization-variable FORMAT_MENU=menu \
     --set-customization-variable SHOW_TITLE=0 \
     --set-customization-variable DATE_IN_HEADER=1 \
-    --set-customization-variable TOP_NODE_UP_URL=index.html \
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
     -o $html gocheese.texi
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
     -o $html gocheese.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 {} +