git_rebase_all_repos.sh: added coloring to output

This commit is contained in:
Oliver Schraml 2017-09-28 08:48:40 +02:00 committed by suchademon
parent 185ad272c9
commit 7a5af97025
Signed by: oliver.schraml
GPG Key ID: A55864B79D0D0228
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ do
git -C "${f}" pull --rebase >/dev/null 2>&1 git -C "${f}" pull --rebase >/dev/null 2>&1
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "${f}: update done" echo -e "${f} [$(tput setaf 2)done\033[00m]"
else else
echo "${f}: update error" echo -e "${f} [$(tput setaf 1)error\033[00m]"
fi fi
fi fi
done done