Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 126280 Details for
Bug 186945
app-portage/gentoolkit - progress bar in new revdep-rebuild flickers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove flicker from the progress meter
progress.patch (text/plain), 719 bytes, created by
Robert Marmorstein
on 2007-07-28 23:05:34 UTC
(
hide
)
Description:
Patch to remove flicker from the progress meter
Filename:
MIME Type:
Creator:
Robert Marmorstein
Created:
2007-07-28 23:05:34 UTC
Size:
719 bytes
patch
obsolete
>--- /usr/bin/revdep-rebuild 2007-07-28 16:59:06.000000000 -0400 >+++ /usr/bin/revdep-rebuild.rmmarm 2007-07-28 18:52:54.000000000 -0400 >@@ -163,8 +163,10 @@ > else > progress() { > (( $1 == $2 )) && local lb=$'\n' >- echo -ne '\r \r' >- echo -n "[ $(( $1 * 100 / $2 ))% ] $lb" >+ new=$(( $1 * 100 / $2 )) >+ (( $new != $old )) && echo -ne '\r \r' >+ (( $new != $old )) && echo -n "[ $new% ] $lb" >+ old=$new > } > progress $@ > fi >@@ -304,6 +306,7 @@ > ]] > > get_args "$@" >+old=0 > # Use the color preference from portage > export NOCOLOR=$(portageq envvar NOCOLOR) > [[ $NOCOLOR = yes || $NOCOLOR = true ]] && export RC_NOCOLOR=yes # HACK! (grr)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186945
:
126280
|
127278