Namdak Tonpa 10 лет назад
Родитель
Сommit
baa47a7325
3 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      include/mad.hrl
  2. BIN
      mad
  3. 1 1
      src/mad_deps.erl

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"22fefa").
+-define(VERSION,"5d0be1").


+ 1 - 1
src/mad_deps.erl

@@ -4,7 +4,7 @@
 
 pull(Config,F) ->
     io:format("==> up: ~p~n", [F]),
-    {_,Status,Message} = sh:run(io_lib:format("git -C ~p pull",[F])),
+    {_,Status,Message} = sh:run(io_lib:format("cd ~p && git pull && cd -",[F])),
     case Status of
          0 -> mad_utils:verbose(Config,Message), false;
          _ -> case binary:match(Message,[<<"You are not currently on a branch">>]) of