Fix typos in rebar_templater

This commit is contained in:
Jesse Gumm 2012-02-17 04:03:32 -06:00 committed by Tuncer Ayaz
parent da122b3e57
commit 4f6f41cabb

View file

@ -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) ->