Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211850 Details for
Bug 292099
app-admin/eselect-boost: support brief output mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
support --brief output
boost.eselect.diff (text/plain), 1.14 KB, created by
Łukasz Michalik
on 2009-12-03 10:20:49 UTC
(
hide
)
Description:
support --brief output
Filename:
MIME Type:
Creator:
Łukasz Michalik
Created:
2009-12-03 10:20:49 UTC
Size:
1.14 KB
patch
obsolete
>--- a/boost.eselect 2009-12-03 11:11:08.000000000 +0100 >+++ b/boost.eselect 2009-12-03 11:17:24.000000000 +0100 >@@ -134,21 +134,16 @@ > } > > do_list() { >- local targets=( $(find_targets ) ) >+ local i targets=( $(find_targets ) ) >+ local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active") >+ active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-} > write_list_start "Available boost versions:" >- if [[ -n "${targets[@]}" ]] ; then >- local i >- local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active") >- active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-} >- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do >- if [[ "${targets[${i}]}" == ${active_slot} ]] ; then >- targets[${i}]="${targets[${i}]} $(highlight '*' )" >- fi >- done >- write_numbered_list "${targets[@]}" >- else >- write_kv_list_entry "(none found)" "" >- fi >+ for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do >+ if [[ "${targets[${i}]}" == ${active_slot} ]] ; then >+ targets[${i}]="$(highlight_marker ${targets[${i}]})" >+ fi >+ done >+ write_numbered_list -m "(none found)" "${targets[@]}" > } > > ### set action ###
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 292099
: 211850