From cd3653616ba81b547c1b2f448c4dffbc18b374c4 Mon Sep 17 00:00:00 2001 From: Shunichi Shinohara Date: Tue, 22 Mar 2011 08:14:59 +0900 Subject: [PATCH] Fix ct include option prefix --- src/rebar_ct.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl index a66bdce..f9e9b4e 100644 --- a/src/rebar_ct.erl +++ b/src/rebar_ct.erl @@ -127,7 +127,7 @@ make_cmd(TestDir, Config) -> IncludeDir = filename:join(Cwd, "include"), case filelib:is_dir(IncludeDir) of true -> - Include = " -I \"" ++ IncludeDir ++ "\""; + Include = " -include \"" ++ IncludeDir ++ "\""; false -> Include = "" end,