mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Fix missing parameter when invoking rebar_utils:sh
This commit is contained in:
parent
6f40b80ee3
commit
68c0def250
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ execute_overlay([{copy, In, Out} | Rest], Vars, BaseDir, TargetDir) ->
|
||||||
false ->
|
false ->
|
||||||
ok = filelib:ensure_dir(OutFile)
|
ok = filelib:ensure_dir(OutFile)
|
||||||
end,
|
end,
|
||||||
rebar_utils:sh(?FMT("cp -R ~p ~p", [InFile, OutFile])),
|
rebar_utils:sh(?FMT("cp -R ~p ~p", [InFile, OutFile]), []),
|
||||||
execute_overlay(Rest, Vars, BaseDir, TargetDir);
|
execute_overlay(Rest, Vars, BaseDir, TargetDir);
|
||||||
execute_overlay([{template, In, Out} | Rest], Vars, BaseDir, TargetDir) ->
|
execute_overlay([{template, In, Out} | Rest], Vars, BaseDir, TargetDir) ->
|
||||||
{ok, InFileData} = file:read_file(render(filename:join(BaseDir, In), Vars)),
|
{ok, InFileData} = file:read_file(render(filename:join(BaseDir, In), Vars)),
|
||||||
|
|
Loading…
Reference in a new issue