lib/travis/tools/system.rb in travis-1.6.3.travis.381.4 vs lib/travis/tools/system.rb in travis-1.6.3.travis.384.4
- old
+ new
@@ -36,10 +36,10 @@
@os_name ||= has?(:sw_vers) && `sw_vers -productName`.chomp
@os_name ||= has?(:lsb_release) && `lsb_release -i -s`.chomp
end
def os_type
- @os_type ||= `uname`.chomp
+ @os_type ||= windows? ? 'Windows' : `uname`.chomp
end
def ruby_engine
defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
end