Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 16295 Details for
Bug 26836
euse from gentoolkit-0.1.30 parses make.conf wrongly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
euse.patch
euse.patch (text/plain), 713 bytes, created by
Georgi Georgiev
on 2003-08-18 20:40:25 UTC
(
hide
)
Description:
euse.patch
Filename:
MIME Type:
Creator:
Georgi Georgiev
Created:
2003-08-18 20:40:25 UTC
Size:
713 bytes
patch
obsolete
>--- /usr/bin/euse 2003-08-18 11:28:46.000000000 +0900 >+++ /usr/bin//euse 2003-08-19 12:37:56.000000000 +0900 >@@ -504,14 +504,11 @@ > sub parse_make > { > my $file_name = shift(); >- my $lines = read_file($file_name); >+ my $cmd = sprintf q!python -c 'import portage; print portage.getconfig("%s")["USE"]'!, $file_name; >+ my $use_var = `$cmd`; >+ chomp $use_var; > my @site_uf_list; >- if ($lines =~ m/^\s*USE[\s\n]*=[\s\n]*"([^"]*)"/ms) >- { >- my $use_var = $1; >- $use_var =~ s/[\r\n]/ /g; >- @site_uf_list = split(' ', $use_var); >- } >+ @site_uf_list = split(/\s+/, $use_var); > #print ("Make: \n" . join (" ", @site_uf_list) . "\n"); > return \@site_uf_list; > }
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 26836
:
16246
| 16295 |
26917