bin/autoproj_bootstrap in autoproj-1.12.3 vs bin/autoproj_bootstrap in autoproj-1.12.4

- old
+ new

@@ -1504,10 +1504,12 @@ def merge(info) root_dir = nil @definitions = definitions.merge(info.definitions) do |h, v1, v2| if v1 != v2 root_dir ||= "#{Autoproj.root_dir}/" + old = source_of(h).gsub(root_dir, '') + new = info.source_of(h).gsub(root_dir, '') # Warn if the new osdep definition resolves to a different # set of packages than the old one old_resolved = resolve_package(h).inject(Hash.new) do |osdep_h, (handler, status, list)| osdep_h[handler.name] = [status, list] @@ -1516,11 +1518,9 @@ new_resolved = info.resolve_package(h).inject(Hash.new) do |osdep_h, (handler, status, list)| osdep_h[handler.name] = [status, list] osdep_h end if old_resolved != new_resolved - old = source_of(h).gsub(root_dir, '') - new = info.source_of(h).gsub(root_dir, '') Autoproj.warn("osdeps definition for #{h}, previously defined in #{old} overridden by #{new}") end end v2 end