summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gumm <sigmastar@gmail.com>2012-02-17 04:03:32 -0600
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-02-17 12:41:34 +0100
commit4f6f41cabba011b8f5d715c97a0a47cce51403ad (patch)
tree37061036c22c672c73d05e875eafdab909a5d652
parentda122b3e57e13c9935d115ad5b9f62c68121c08a (diff)
Fix typos in rebar_templater
-rw-r--r--src/rebar_templater.erl4
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) ->