Fixed formatting issue with OS version number in Java.

This commit is contained in:
Bob Aman 2012-03-14 17:11:19 +01:00
parent 11bae1fde0
commit 33ea36ca46
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module Google
require 'java' require 'java'
name = java.lang.System.getProperty('os.name') name = java.lang.System.getProperty('os.name')
version = java.lang.System.getProperty('os.version') version = java.lang.System.getProperty('os.version')
"#{name} #{version}" "#{name}/#{version}"
else else
`uname -sr`.sub(' ', '/') `uname -sr`.sub(' ', '/')
end end