Browse Source

Cwd is bound before

Sina Samavati 11 years ago
parent
commit
9258b1380d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/mad_compile.erl

+ 0 - 1
src/mad_compile.erl

@@ -22,7 +22,6 @@ deps(Cwd, [H|T]) ->
 %% compile a dependency
 dep(Cwd, Name) ->
     %% check dependencies of the dependency
-    Cwd = mad_utils:cwd(),
     DepPath = filename:join([Cwd, "deps", Name]),
     Conf = mad_utils:rebar_conf(DepPath),
     Conf1 = mad_utils:script(DepPath, Conf),