From 8ecca658dfa4d36a82567e0f0e5161f6f4f1976f Mon Sep 17 00:00:00 2001 From: Edouard Lopez Date: Tue, 5 Feb 2019 23:31:46 +0100 Subject: [PATCH] indent --- progress-bar.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/progress-bar.sh b/progress-bar.sh index 8e32a50..eba28d1 100755 --- a/progress-bar.sh +++ b/progress-bar.sh @@ -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 }