diff options
-rw-r--r-- | src/rebar_templater.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl index bf8d54c..f608512 100644 --- a/src/rebar_templater.erl +++ b/src/rebar_templater.erl @@ -368,7 +368,7 @@ execute_template([{copy, Input, Output} | Rest], TemplateType, TemplateName, Context, Force, ExistingFiles) catch _:_ -> ?ABORT("Failed while processing template instruction " - "{dir, ~s, ~s}~n", [Input, Output]) + "{copy, ~s, ~s}~n", [Input, Output]) end; execute_template([{chmod, Mod, File} | Rest], TemplateType, TemplateName, Context, Force, ExistingFiles) when is_integer(Mod) -> @@ -378,7 +378,7 @@ execute_template([{chmod, Mod, File} | Rest], TemplateType, TemplateName, Context, Force, ExistingFiles); {error, Reason} -> ?ABORT("Failed while processing template instruction " - "{cmod, ~b, ~s}: ~p~n", [Mod, File, Reason]) + "{chmod, ~b, ~s}: ~p~n", [Mod, File, Reason]) end; execute_template([{symlink, Existing, New} | Rest], TemplateType, TemplateName, Context, Force, ExistingFiles) -> |