mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix typos in rebar_templater
This commit is contained in:
parent
da122b3e57
commit
4f6f41cabb
1 changed files with 2 additions and 2 deletions
|
@ -368,7 +368,7 @@ execute_template([{copy, Input, Output} | Rest], TemplateType, TemplateName,
|
||||||
Context, Force, ExistingFiles)
|
Context, Force, ExistingFiles)
|
||||||
catch _:_ ->
|
catch _:_ ->
|
||||||
?ABORT("Failed while processing template instruction "
|
?ABORT("Failed while processing template instruction "
|
||||||
"{dir, ~s, ~s}~n", [Input, Output])
|
"{copy, ~s, ~s}~n", [Input, Output])
|
||||||
end;
|
end;
|
||||||
execute_template([{chmod, Mod, File} | Rest], TemplateType, TemplateName,
|
execute_template([{chmod, Mod, File} | Rest], TemplateType, TemplateName,
|
||||||
Context, Force, ExistingFiles) when is_integer(Mod) ->
|
Context, Force, ExistingFiles) when is_integer(Mod) ->
|
||||||
|
@ -378,7 +378,7 @@ execute_template([{chmod, Mod, File} | Rest], TemplateType, TemplateName,
|
||||||
Context, Force, ExistingFiles);
|
Context, Force, ExistingFiles);
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
?ABORT("Failed while processing template instruction "
|
?ABORT("Failed while processing template instruction "
|
||||||
"{cmod, ~b, ~s}: ~p~n", [Mod, File, Reason])
|
"{chmod, ~b, ~s}: ~p~n", [Mod, File, Reason])
|
||||||
end;
|
end;
|
||||||
execute_template([{symlink, Existing, New} | Rest], TemplateType, TemplateName,
|
execute_template([{symlink, Existing, New} | Rest], TemplateType, TemplateName,
|
||||||
Context, Force, ExistingFiles) ->
|
Context, Force, ExistingFiles) ->
|
||||||
|
|
Loading…
Reference in a new issue