mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix file:script support
This commit is contained in:
parent
7c418ed2b4
commit
c3c64c1d70
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ get_env(Config, Mod) ->
|
|||
consult_and_eval(File, Script) ->
|
||||
?DEBUG("Evaluating config script ~p~n", [Script]),
|
||||
ConfigData = try_consult(File),
|
||||
file:script(File, bs([{'CONFIG', ConfigData}, {'SCRIPT', File}])).
|
||||
file:script(Script, bs([{'CONFIG', ConfigData}, {'SCRIPT', File}])).
|
||||
|
||||
|
||||
remove_script_ext(F) ->
|
||||
|
|
Loading…
Reference in a new issue