Changement de couleur
This commit is contained in:
parent
c782f282b0
commit
027e026545
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ source progress_info.sh
|
||||||
for rep in *
|
for rep in *
|
||||||
do
|
do
|
||||||
progress_start "\e[1;37m$rep\e[0m"
|
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
|
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')"
|
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
|
cd - &>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue