bin/autoproj_bootstrap in autoproj-1.12.5 vs bin/autoproj_bootstrap in autoproj-1.12.6
- old
+ new
@@ -2421,10 +2421,10 @@
programs[name.to_sym] || programs[name.to_s] || name.to_s
end
def find_in_path(file)
path = ENV['PATH'].split(File::PATH_SEPARATOR).
- find { |dir| File.exists?(File.join(dir, file)) }
+ find { |dir| File.exist?(File.join(dir, file)) }
if path
return File.join(path, file)
end
end