You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:11:24 UTC
[jira] [Closed] (BUILDR-283) env variables: misleading
documentation
[ https://issues.apache.org/jira/browse/BUILDR-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald closed BUILDR-283.
-------------------------------
> env variables: misleading documentation
> ---------------------------------------
>
> Key: BUILDR-283
> URL: https://issues.apache.org/jira/browse/BUILDR-283
> Project: Buildr
> Issue Type: Bug
> Components: Site/documentation
> Affects Versions: 1.3.4
> Reporter: Alexis Midon
> Fix For: 1.3.5
>
> Attachments: buildr-283.patch.txt
>
>
> The current documentation states that:
> "a. For convenience, when you set environment variables on the command line, the variable name is case insensitive (..) b. " Any other way (export, ENV, etc) the variable names are case sensitive."
> a. is incorrect because Rake processes env. variables passed on the command line in a case sensitive way. [1]
> $buildr MYVAR=foo is different from $buildr myvar=foo
> b. is incorrect because TEST and DEBUG are case insensitive even with export and ENV. Some specs already test that case. [2]
> The attached patch rephrases this sentence into:
> "For convenience, the environment variables @TEST@ and @DEBUG@ are case insensitive, you can use either @test=no@ or @TEST=no@. Any other environment variable names are case sensitive."
> [1] http://docs.rubyrake.org/user_guide/chapter02.html
> [2] http://github.com/assaf/buildr/blob/1b45697ffb6d2877fc8bc2543be92cb91638e483/spec/core/test_spec.rb#L848
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira