mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Fix bug 255; O/S environment vars should be processed last, not first
This commit is contained in:
parent
8d14f3193d
commit
3588c69ad2
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ compile(Config, AppFile) ->
|
|||
%% default for this operating system. This enables max flexibility for users.
|
||||
DefaultEnvs = filter_envs(default_env(), []),
|
||||
OverrideEnvs = filter_envs(rebar_config:get_list(Config, port_envs, []), []),
|
||||
Env = expand_vars_loop(merge_each_var(os_env() ++ DefaultEnvs ++ OverrideEnvs, [])),
|
||||
Env = expand_vars_loop(merge_each_var(DefaultEnvs ++ OverrideEnvs ++ os_env(), [])),
|
||||
|
||||
%% One or more files are available for building. Run the pre-compile hook, if
|
||||
%% necessary.
|
||||
|
|
Loading…
Reference in a new issue