From 71fa4820b859573765bef228365036afeb6ea10e Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 25 Jan 2023 06:54:46 +0100 Subject: [PATCH] git: Fix git-pull-all echo again --- git/git-pull-all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/git-pull-all b/git/git-pull-all index 3e709fb..d63e73c 100755 --- a/git/git-pull-all +++ b/git/git-pull-all @@ -93,10 +93,10 @@ for REPODIR in $(find "$@" -name .git -type d 2> /dev/null); do git -C ${REPO} remote update if [ -z "$(git -C ${REPO} status -uno | grep 'Your branch is behind')" ] ; then - echo "\e[1;32m Already up to date\e[0m" + /usr/bin/echo -e "\e[1;32m Already up to date\e[0m" else if [ "${optDryRun}" = 1 ]; then - echo -e "\e[1;31m Skipping due to dry-run\e[0m" + /usr/bin/echo -e "\e[1;31m Skipping due to dry-run\e[0m" continue fi git -C ${REPO} pull -- 2.39.5