浏览代码

Allow non-default checkouts dir for relx

fixes #872
pull/877/head
Fred Hebert 9 年前
父节点
当前提交
6637ec4548
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_relx.erl

+ 1
- 1
src/rebar_relx.erl 查看文件

@ -18,7 +18,7 @@ do(Module, Command, Provider, State) ->
DepsDir = rebar_dir:deps_dir(State), DepsDir = rebar_dir:deps_dir(State),
ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS), ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS),
LibDirs = rebar_utils:filtermap(fun ec_file:exists/1, LibDirs = rebar_utils:filtermap(fun ec_file:exists/1,
[?DEFAULT_CHECKOUTS_DIR, DepsDir | ProjectAppDirs]),
[rebar_dir:checkouts_dir(State), DepsDir | ProjectAppDirs]),
OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR), OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR),
AllOptions = string:join([Command | Options], " "), AllOptions = string:join([Command | Options], " "),
Cwd = rebar_state:dir(State), Cwd = rebar_state:dir(State),

正在加载...
取消
保存