diff options
author | Eric B Merritt <[email protected]> | 2013-04-09 20:50:37 -0700 |
---|---|---|
committer | Eric B Merritt <[email protected]> | 2013-04-09 20:50:37 -0700 |
commit | c003f00bfc33df3c561ee773f760c6d03e77ec14 (patch) | |
tree | 2d1febcc52525606bfd027cfcfb1d9ca48bca095 /src | |
parent | 10eb471cda3609156e21af93e04522543fb674c0 (diff) | |
download | relx-c003f00bfc33df3c561ee773f760c6d03e77ec14.tar.gz relx-c003f00bfc33df3c561ee773f760c6d03e77ec14.tar.bz2 relx-c003f00bfc33df3c561ee773f760c6d03e77ec14.zip |
make sure that top level releases are also supported
Add matching test
Diffstat (limited to 'src')
-rw-r--r-- | src/rcl_prv_discover.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rcl_prv_discover.erl b/src/rcl_prv_discover.erl index fa810a6..3627787 100644 --- a/src/rcl_prv_discover.erl +++ b/src/rcl_prv_discover.erl @@ -97,6 +97,7 @@ add_common_project_dirs(State) -> Apps = filename:join(Root, "apps"), Lib = filename:join(Root, "lib"), Deps = filename:join(Root, "deps"), + Ebin = filename:join(Root, "ebin"), lists:foldl(fun(Dir, LibDirs) -> case ec_file:exists(Dir) of true -> @@ -104,7 +105,7 @@ add_common_project_dirs(State) -> false -> LibDirs end - end, [], [Deps, Lib, Apps]) + end, [], [Deps, Lib, Apps, Ebin]) end. -spec add_system_lib_dir(rcl_state:t()) -> [file:name()]. |