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