lib/blocks/compile.rb in bake-toolkit-2.34.4 vs lib/blocks/compile.rb in bake-toolkit-2.35.0
- old
+ new
@@ -461,10 +461,10 @@
end
def mapInclude(inc, orgBlock)
if inc.name == "___ROOTS___"
- return Bake.options.roots.map { |r| File.rel_from_to_project(@projectDir,r,false) }
+ return Bake.options.roots.map { |r| File.rel_from_to_project(@projectDir,r.dir,false) }
end
i = orgBlock.convPath(inc,nil,true)
if orgBlock != @block
if not File.is_absolute?(i)
\ No newline at end of file