Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
edouard-lopez committed Feb 5, 2019
1 parent 68bbbc7 commit 8ecca65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions progress-bar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ progress-bar() {
if (( duration < space_available )); then
fit_to_screen=1;
else
fit_to_screen=$(( duration / space_available ));
fit_to_screen=$((fit_to_screen+1));
fit_to_screen=$(( duration / space_available ));
fit_to_screen=$((fit_to_screen+1));
fi

already_done() { for ((done=0; done<(elapsed / fit_to_screen) ; done=done+1 )); do printf ""; done }
Expand Down

0 comments on commit 8ecca65

Please sign in to comment.