diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_config.erl | 2 | ||||
-rw-r--r-- | src/rebar_prv_escriptize.erl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl index 7316d83..797dddc 100644 --- a/src/rebar_config.erl +++ b/src/rebar_config.erl @@ -290,6 +290,8 @@ consult_and_eval(File, Script) -> {ok, Term} -> {ok, [Term]}; Error -> + ?ERROR("Error evaluating configuration script at ~p:~n~p~n", + [Script, Error]), Error end. diff --git a/src/rebar_prv_escriptize.erl b/src/rebar_prv_escriptize.erl index 4d767fd..fceb65e 100644 --- a/src/rebar_prv_escriptize.erl +++ b/src/rebar_prv_escriptize.erl @@ -267,7 +267,7 @@ rm_newline(String) -> [C || C <- String, C =/= $\n]. write_windows_script(Target) -> - CmdPath = Target ++ ".cmd", + CmdPath = unicode:characters_to_list(Target) ++ ".cmd", CmdScript= "@echo off\r\n" "setlocal\r\n" |