diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-08 15:14:18 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-08 15:14:18 +0200 |
commit | 2db4a5d32970aa004ccec50e4e32bc3b5b8d6223 (patch) | |
tree | 3b3f176427adcd898ae80c71e6e05f388b94d779 | |
parent | ad2d3244410b56c1fbd0547b60197bd20a880037 (diff) |
bin/pkg: Use clear_line more often
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -251,9 +251,11 @@ pkg_update () { info "Looking for updates: $1" NEW=$($VCS_CMD $VCS_OPTIONS $VCS_INCOMING) if ([ $? = 0 ]) { - info "\rUpdating: $1 to $(echo $NEW | tail -n 1)" + clear_line + info "Updating: $1 to $(echo $NEW | tail -n 1)" $VCS_CMD $VCS_OPTIONS $VCS_UPDATE $VCS_UPDATE_OPTIONS - info "\rUpdated: $1 to $(echo $NEW | tail -n 1) \n" + clear_line + info "Updated: $1 to $(echo $NEW | tail -n 1) \n" if ([ -r Makefile ]) { info "Building binaries\n" make |