Fixed formatting issue with OS version number in Java.
This commit is contained in:
parent
11bae1fde0
commit
33ea36ca46
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue