Changeset 6f75d64


Ignore:
Timestamp:
09/14/2006 12:52:26 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
045b2dc
Parents:
d44206f
Message:

Reduce string length to prevent wraparound if package build time exceeds 99 minutes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/progress_bar.sh

    rd44206f r6f75d64  
    1717declare -r  FRAME_CLOSE=${CSI}$'63G]'
    1818declare -r  TS_POSITION=${CSI}$'65G'
     19declare -r  LINE_WRAP_OFF=${CSI}$'?7l'
     20declare -r  LINE_WRAP_ON=${CSI}$'?7h'
    1921declare -a  RESET_LINE=${CURSOR_OFF}${ERASE_LINE}${FRAME_OPEN}${FRAME_CLOSE}
    2022
     
    5557
    5658      # Display the accumulated time. div minutes.. modulo seconds.
    57     write_or_exit "${TS_POSITION}$(($SECONDS / 60)) min. $SEC sec. "
     59    write_or_exit "${TS_POSITION}$(($SECONDS / 60)) min. $SEC sec"
    5860done
    5961
Note: See TracChangeset for help on using the changeset viewer.