lib/rbbt/resource/util.rb in rbbt-util-5.14.14 vs lib/rbbt/resource/util.rb in rbbt-util-5.14.15

- old
+ new

@@ -29,9 +29,10 @@ end module Resource def set_software_env(software_dir) software_dir.find_all.each do |software_dir| + next unless software_dir.exists? bin_dir = File.join(software_dir, 'bin') opt_dir = File.join(software_dir, 'opt') Misc.env_add 'PATH', bin_dir