diff --git a/src/rebar_base_compiler.erl b/src/rebar_base_compiler.erl index 0983e17..43b9c88 100644 --- a/src/rebar_base_compiler.erl +++ b/src/rebar_base_compiler.erl @@ -104,8 +104,6 @@ simple_compile_wrapper(Source, Target, Compile3Fn, Config, true) -> end. target_file(SourceFile, SourceDir, SourceExt, TargetDir, TargetExt) -> - %% Remove all leading components of the source dir from the file -- we want - %% to maintain the deeper structure (if any) of the source file path BaseFile = remove_common_path(SourceFile, SourceDir), filename:join([TargetDir, filename:basename(BaseFile, SourceExt) ++ TargetExt]).