summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ct4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ct b/bin/ct
index 588f80d..ff727f9 100755
--- a/bin/ct
+++ b/bin/ct
@@ -244,8 +244,8 @@ function progress {
typeset -i currentper=$(( (current*100)/max ))
typeset item j c a
function item {
- for j in {0..$1}; {
- (( j > 0 )) && output+=$2
+ repeat $1; {
+ output+=$2
}
}
c=$(( currentper/5 ))