Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215727 Details for
Bug 300229
gentoolkit-0.3.0_rc8: revdep-rebuild: syntax error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use eval portageq envvar -v ....
revdep-rebuild.300229.patch (text/plain), 1.34 KB, created by
Paul Varner (RETIRED)
on 2010-01-08 23:00:08 UTC
(
hide
)
Description:
Use eval portageq envvar -v ....
Filename:
MIME Type:
Creator:
Paul Varner (RETIRED)
Created:
2010-01-08 23:00:08 UTC
Size:
1.34 KB
patch
obsolete
>Index: revdep-rebuild >=================================================================== >--- revdep-rebuild (revision 731) >+++ revdep-rebuild (working copy) >@@ -985,30 +985,19 @@ > > # Get multiple portage variables at once to speedup revdep-rebuild. > portage_settings() { >- local results=() >+ local ORIG_SEARCH_DIRS="$SEARCH_DIRS" >+ local ORIG_SEARCH_DIRS_MASK="$SEARCH_DIRS_MASK" >+ local ORIG_LD_LIBRARY_MASK="$LD_LIBRARY_MASK" >+ unset SEARCH_DIRS >+ unset SEARCH_DIRS_MASK >+ unset LD_LIBRARY_MASK > >- local query_vars=( >- ROOT >- PORTAGE_NICENESS >- EMERGE_DEFAULT_OPTS >- NOCOLOR >- SEARCH_DIRS >- SEARCH_DIRS_MASK >- LD_LIBRARY_MASK >- ) >+ eval $(portageq envvar -v PORTAGE_ROOT PORTAGE_NICENESS EMERGE_DEFAULT_OPTS NOCOLOR SEARCH_DIRS SEARCH_DIRS_MASK LD_LIBRARY_MASK) >+ export NOCOLOR > >- # one value per line >- IFS=$'\n' >- results=( $(unset SEARCH_DIRS; unset SEARCH_DIRS_MASK; unset LD_LIBRARY_MASK; portageq envvar ${query_vars[*]}) ) >- IFS=$OIFS >- >- PORTAGE_ROOT=${results[0]} >- PORTAGE_NICENESS=${results[1]} >- EMERGE_DEFAULT_OPTS=${results[2]} >- export NOCOLOR=${results[3]} >- SEARCH_DIRS+=" "${results[4]} >- SEARCH_DIRS_MASK+=" "${results[5]} >- LD_LIBRARY_MASK+=" "${results[6]} >+ SEARCH_DIRS="$ORIG_SEARCH_DIRS $SEARCH_DIRS" >+ SEARCH_DIRS_MASK="$ORIG_SEARCH_DIRS_MASK $SEARCH_DIRS_MASK" >+ LD_LIBRARY_MASK="$ORIG_LD_LIBRARY_MASK $LD_LIBRARY_MASK" > } > > ##
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 300229
:
215725
| 215727