Changement de couleur

This commit is contained in:
Breizh 2018-05-07 10:37:37 +02:00
parent c782f282b0
commit 027e026545

View file

@ -5,7 +5,7 @@ source progress_info.sh
for rep in *
do
progress_start "\e[1;37m$rep\e[0m"
[[ ! -d $rep/.git ]] && progress_end "SKIP" green && continue
[[ ! -d $rep/.git ]] && progress_end "SKIP" blue && continue
cd $rep
output=$(git pull 2>&1) && progress_end " OK " green "$(echo -e "\e[1;37m$rep\e[0m\n$output" | sed 'N;s/\n/\n /g;P;D')" || progress_end "FAIL" red "$(echo -e "\e[1;37m$rep\e[0m\n$output" | sed 'N;s/\n/\n /g;P;D')"
cd - &>/dev/null