diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-09-14 11:09:19 -0500 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-09-14 11:09:19 -0500 |
commit | 49670721e1b91ae5d0a54002ea19af99c5b939b7 (patch) | |
tree | d172d9ebf263dc3f2e2b67407a81f79ab0701789 /src | |
parent | e718af2af4fc4e1a2c85b5ecc84a0dadddb8bbea (diff) | |
parent | ce19c2e16d96c122607a53f71e128f8119dd79b6 (diff) |
Merge pull request #798 from garret-smith/fix_app_src_script
Terms is already a list
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_config.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl index b9b8b2e..44072e8 100644 --- a/src/rebar_config.erl +++ b/src/rebar_config.erl @@ -64,7 +64,7 @@ consult_file_(File) -> case filename:extension(File) of ".script" -> {ok, Terms} = consult_and_eval(remove_script_ext(File), File), - [Terms]; + Terms; _ -> Script = File ++ ".script", case filelib:is_regular(Script) of |