From 4f6f41cabba011b8f5d715c97a0a47cce51403ad Mon Sep 17 00:00:00 2001 From: Jesse Gumm Date: Fri, 17 Feb 2012 04:03:32 -0600 Subject: Fix typos in rebar_templater --- src/rebar_templater.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -> -- cgit v1.1