Browse Source

Terms is already a list

Fixes compiling yaws, which has an .app.src.script file
pull/798/head
Garret Smith 9 years ago
parent
commit
ce19c2e16d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_config.erl

+ 1
- 1
src/rebar_config.erl View File

@ -64,7 +64,7 @@ consult_file_(File) ->
case filename:extension(File) of case filename:extension(File) of
".script" -> ".script" ->
{ok, Terms} = consult_and_eval(remove_script_ext(File), File), {ok, Terms} = consult_and_eval(remove_script_ext(File), File),
[Terms];
Terms;
_ -> _ ->
Script = File ++ ".script", Script = File ++ ".script",
case filelib:is_regular(Script) of case filelib:is_regular(Script) of

Loading…
Cancel
Save