X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=git%2Fgit-pull-all;h=d63e73c9061ebb7a06bc6c4e92afc30a5d490c36;hb=71fa4820b859573765bef228365036afeb6ea10e;hp=25252e58b575f0b41a4106324e943db7defee754;hpb=f6bc474d0d9d01ef8dfe8fc313f39a7c2a9c241e;p=shutils.git diff --git a/git/git-pull-all b/git/git-pull-all index 25252e5..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 "\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