Browse Source

fix relx build

Namdak Tonpa 10 years ago
parent
commit
ff3dbecc88
2 changed files with 1 additions and 1 deletions
  1. BIN
      mad
  2. 1 1
      src/mad_release.erl

BIN
mad


+ 1 - 1
src/mad_release.erl

@@ -13,7 +13,7 @@ release(Name,Apps) ->
 main([]) -> main(["sample"]);
 main(Params) ->
     [N|_] = Params,
-    Apps = mad_plan:orderapps(), %[ filename:basename(F) || F <- filelib:wildcard("{apps,deps}/*"),  filelib:is_dir(F)],
+    {ok,Apps} = mad_plan:orderapps(), %[ filename:basename(F) || F <- filelib:wildcard("{apps,deps}/*"),  filelib:is_dir(F)],
     release(N,Apps),
     {_,Status,X} = sh:run("relx",[],binary,".",[]),
     case Status == 0 of