Skip to content

Commit f64e59d

Browse files
Improve Progress Bar on Apache make and install
1 parent eb8a05e commit f64e59d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.dev-tools/install-apache-2.2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ defaultcolor=$(tput setaf default)
6060
spinner() {
6161
local pid=$!
6262
local delay=0.1
63-
local spinstr='|/-\'
63+
local spinstr='.'
6464
while [ "$(ps a | awk '{print $1}' | grep $pid)" ]; do
6565
local temp=${spinstr#?}
66-
printf " [%c] " "$spinstr"
66+
printf "${bold}${red}%c" "$spinstr"
6767
local spinstr=$temp${spinstr%"$temp"}
6868
sleep $delay
6969
printf "\b\b\b\b\b\b"

0 commit comments

Comments
 (0)