Method: Forj::Boot.tb_check_bin

Defined in:
lib/boot.rb

.tb_check_bin(tb_path) ⇒ Object

Script to check the bin and path



269
270
271
272
273
274
# File 'lib/boot.rb', line 269

def self.tb_check_bin(tb_path)
  script = 'test-box.sh'
  script = File.expand_path(File.join(tb_path, script))
  return script if File.executable?(script)
  nil
end