From 899fd251608c137ed4c6bab5fc2ec757a294b482 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 13 Sep 2021 23:48:18 +0300 Subject: [PATCH] Trivial shell optimizations --- makedist.sh | 4 ++-- www.do | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/makedist.sh b/makedist.sh index 881d634..6eb38a7 100755 --- a/makedist.sh +++ b/makedist.sh @@ -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 -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 .. diff --git a/www.do b/www.do index 34f06bc..2f81bde 100644 --- 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 TOP_NODE_UP_URL=index.html \ --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 {} + -- 2.44.0