Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26917 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]
patch for euse based on perl parsing
euse.diff (text/plain), 760 bytes, created by
Joerg Schaible
on 2004-03-05 14:57:08 UTC
(
hide
)
Description:
patch for euse based on perl parsing
Filename:
MIME Type:
Creator:
Joerg Schaible
Created:
2004-03-05 14:57:08 UTC
Size:
760 bytes
patch
obsolete
>--- /usr/bin/euse 2004-02-07 11:58:10.000000000 +0100 >+++ /usr/local/bin/euse 2004-03-05 23:53:20.000000000 +0100 >@@ -505,14 +505,14 @@ > { > my $file_name = shift(); > my $lines = read_file($file_name); >+ my @uses_lines = ($lines =~ m/^\s*USE[\s\n]*=[\s\n]*"([^"]*)"/msg); > 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); >+ foreach (@uses_lines) { >+ s/\$\{?USE\}?//g; >+ s/[\r\n\\]/ /g; >+ push @site_uf_list, split; > } >- #print ("Make: \n" . join (" ", @site_uf_list) . "\n"); >+ #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