0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Move TERM= declaration to make variable side

This commit is contained in:
Loïc Hoguin 2016-06-22 13:09:27 +02:00
parent 3c7766119d
commit 99a0e0fc46

View file

@ -48,7 +48,7 @@ do_get_paths(Example0) ->
do_compile_and_start(Example) -> do_compile_and_start(Example) ->
{Dir, Rel, _} = do_get_paths(Example), {Dir, Rel, _} = do_get_paths(Example),
%% TERM=dumb disables relx coloring. %% TERM=dumb disables relx coloring.
ct:log("~s~n", [os:cmd("cd " ++ Dir ++ " && make distclean && TERM=dumb make all")]), ct:log("~s~n", [os:cmd("cd " ++ Dir ++ " && make distclean && make all TERM=dumb")]),
ct:log("~s~n", [os:cmd(Rel ++ " stop")]), ct:log("~s~n", [os:cmd(Rel ++ " stop")]),
ct:log("~s~n", [os:cmd(Rel ++ " start")]), ct:log("~s~n", [os:cmd(Rel ++ " start")]),
timer:sleep(2000), timer:sleep(2000),