lib/blocks/compile.rb in bake-toolkit-2.68.0 vs lib/blocks/compile.rb in bake-toolkit-2.68.1
- old
+ new
@@ -373,10 +373,10 @@
end
elsif lineType == :multi
deps_string = File.read(dep_filename)
deps_string = deps_string.gsub(/\\\n/,'')
dep_splitted = deps_string.split(/([^\\]) /).each_slice(2).map(&:join)[2..-1]
- deps = dep_splitted.map { |d| d.gsub(/[\\] /,' ').gsub(/[\\]/,'/').strip }.delete_if {|d| d == "" }
+ deps = dep_splitted.map { |d| d.gsub(/[\\] /,' ').gsub(/\\:\\/,':\\').gsub(/[\\]/,'/').strip }.delete_if {|d| d == "" }
elsif lineType == :plain
firstLine = true
File.readlines(dep_filename).each do |line|
if firstLine
firstLine = false
\ No newline at end of file