From 5ca7e428c53aca34584a0557ddabea07ddc31194 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 28 Feb 2019 15:27:57 +0300 Subject: [PATCH] Remove excessive `echo`; simplify long commands --- edit-description-repos | 4 +--- fix-config-repos | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/edit-description-repos b/edit-description-repos index 7c78af4..bd6c81a 100755 --- a/edit-description-repos +++ b/edit-description-repos @@ -4,6 +4,4 @@ cd "`dirname \"$0\"`" && prog_dir="`pwd`" && export prog_dir -exec "$prog_dir"/do-all \ - 'echo "----- $d -----" && cd "$d" &&' \ - '"$prog_dir"/edit-description-recursive || exit 1' +exec "$prog_dir"/do-all 'cd "$d" && "$prog_dir"/edit-description-recursive || exit 1' diff --git a/fix-config-repos b/fix-config-repos index 7a6d69f..404f7d2 100755 --- a/fix-config-repos +++ b/fix-config-repos @@ -4,6 +4,4 @@ cd "`dirname \"$0\"`" && prog_dir="`pwd`" && export prog_dir -exec "$prog_dir"/do-all \ - 'echo "----- $d -----" && cd "$d" &&' \ - '"$prog_dir"/fix-config-recursive || exit 1' +exec "$prog_dir"/do-all 'cd "$d" && "$prog_dir"/fix-config-recursive || exit 1' -- 2.39.5