From 2db4a5d32970aa004ccec50e4e32bc3b5b8d6223 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 8 Jun 2008 15:14:18 +0200 Subject: bin/pkg: Use clear_line more often --- bin/pkg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/pkg b/bin/pkg index 9c4c66a..74f42c9 100755 --- a/bin/pkg +++ b/bin/pkg @@ -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 -- cgit v1.2.3