From f1b1dd837f7e7154e1c1041e86b1f97c345128c5 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Wed, 12 Mar 2014 12:19:05 -0400 Subject: [PATCH] Fix handling of raw deps --- src/rebar_deps.erl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl index 4762c0b..9fb9a20 100644 --- a/src/rebar_deps.erl +++ b/src/rebar_deps.erl @@ -571,7 +571,13 @@ update_source(Config, Dep) -> Env = setup_env(Config1), - {true, ModuleSetFile} = rebar_app_utils:is_app_dir(AppDir), + case Dep#dep.is_raw of + false -> + {true, ModuleSetFile} = rebar_app_utils:is_app_dir(AppDir); + true -> + %% I have no idea... + ModuleSetFile = "" + end, %% Execute any before_command plugins on this directory Config2 = rebar_core:execute_pre('update-deps', [],