diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-07-17 18:38:59 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-07-18 18:58:15 +0200 |
commit | a4ffe1ce62aded579cef12cd707378360e64e902 (patch) | |
tree | 9a768a862f475f4d6c0f5ac5efe8673c4f7a49e7 /src/rebar_app_utils.erl | |
parent | 734d30f96e2390330234e10b0157d6d1e3741a7e (diff) |
Use filename:join/1
Diffstat (limited to 'src/rebar_app_utils.erl')
-rw-r--r-- | src/rebar_app_utils.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_app_utils.erl b/src/rebar_app_utils.erl index 7e6cbd9..b47520a 100644 --- a/src/rebar_app_utils.erl +++ b/src/rebar_app_utils.erl @@ -45,12 +45,12 @@ is_app_dir() -> is_app_dir(rebar_utils:get_cwd()). is_app_dir(Dir) -> - AppSrc = filename:join(Dir, "src/*.app.src"), + AppSrc = filename:join([Dir, "src", "*.app.src"]), case filelib:wildcard(AppSrc) of [AppSrcFile] -> {true, AppSrcFile}; _ -> - App = filename:join([Dir, "ebin/*.app"]), + App = filename:join([Dir, "ebin", "*.app"]), case filelib:wildcard(App) of [AppFile] -> {true, AppFile}; |