Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 126834 Details for
Bug 187678
app-shells/gentoo-bashcomp - add layman PORTDIR_OVERLAYs support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Layman support within gentoo-bashcomp
gentoo-bashcomp-layman.patch (text/plain), 815 bytes, created by
Gianni Costanzi
on 2007-08-03 23:10:32 UTC
(
hide
)
Description:
Layman support within gentoo-bashcomp
Filename:
MIME Type:
Creator:
Gianni Costanzi
Created:
2007-08-03 23:10:32 UTC
Size:
815 bytes
patch
obsolete
>diff -ur gentoo-bashcomp-20050516/gentoo gentoo-bashcomp-20070804/gentoo >--- gentoo-bashcomp-20050516/gentoo 2005-05-16 08:50:45.000000000 +0200 >+++ gentoo-bashcomp-20070804/gentoo 2007-08-04 00:58:44.000000000 +0200 >@@ -20,12 +20,19 @@ > # > _portdir() > { >+ local nlines layman_conf >+ > sed -n -e '/^PORTDIR=/ { s/^[^=]\+="\?\([^"]\+\|\S\+\).*/\1/p ; q }' \ > /etc/make.{conf,globals} 2>/dev/null > > if [[ $1 == '-o' ]] ; then > sed -n -e '/^PORTDIR_OVERLAY=/ { s/^[^=]\+="\?\([^"]\+\|\S\+\).*/\1/p ; q }' \ > /etc/make.conf 2>/dev/null >+ layman_conf="/usr/portage/local/layman/make.conf" >+ if [[ -f ${layman_conf} ]] ; then >+ nlines=$(wc -l ${layman_conf} | sed -e "s:\([0-9]\+\).*:\1:g") >+ tail -n $[ $nlines - 1 ] ${layman_conf} | head -n $[ $nlines - 3 ] >+ fi > fi > } >
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 187678
: 126834