Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115704 Details for
Bug 173740
export clst bools as well
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
catalyst-export-bools.patch
catalyst-export-bools.patch (text/plain), 1.04 KB, created by
SpanKY
on 2007-04-08 09:06:33 UTC
(
hide
)
Description:
catalyst-export-bools.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2007-04-08 09:06:33 UTC
Size:
1.04 KB
patch
obsolete
>Index: modules/generic_stage_target.py >=================================================================== >--- modules/generic_stage_target.py (revision 1224) >+++ modules/generic_stage_target.py (working copy) >@@ -1056,8 +1066,7 @@ > # fixed. We need this to use the os.system() call since we can't > # specify our own environ: > for x in self.settings.keys(): >- # "/" is replaced with "_", "-" is replaced with "_", and "." is >- # replaced with "_" >+ # sanitize var names by doing "s|/-.|_|g" > varname="clst_"+string.replace(x,"/","_") > varname=string.replace(varname,"-","_") > varname=string.replace(varname,".","_") >@@ -1068,6 +1077,11 @@ > elif type(self.settings[x])==types.ListType: > #os.environ[varname]=string.join(self.settings[x]) > self.env[varname]=string.join(self.settings[x]) >+ elif type(self.settings[x])==types.BooleanType: >+ if self.settings[x]: >+ self.env[varname]="true" >+ else: >+ self.env[varname]="false" > if self.settings.has_key("makeopts"): > self.env["MAKEOPTS"]=self.settings["makeopts"] >
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 173740
: 115704