diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index a8ce954..138b4f5 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -75,7 +75,7 @@ eunit(Config, AppFile) -> end, %% Make sure ?EUNIT_DIR/ and ebin/ directory exists (tack on dummy module) - ok = filelib:ensure_dir(?EUNIT_DIR ++ "/foo"), + ok = filelib:ensure_dir(eunit_dir() ++ "/foo"), ok = filelib:ensure_dir(ebin_dir() ++ "/foo"), %% Setup code path prior to compilation so that parse_transforms and the like