fix solaris vendor version
This commit is contained in:
parent
103c90f847
commit
6debd2fefa
|
@ -91,7 +91,7 @@ public class OperatingSystem {
|
||||||
os.vendor = "Sun Microsystems";
|
os.vendor = "Sun Microsystems";
|
||||||
int ix = os.version.indexOf(".");
|
int ix = os.version.indexOf(".");
|
||||||
//5.8 == solaris 8, etc.
|
//5.8 == solaris 8, etc.
|
||||||
os.vendorVersion = os.version.substring(ix);
|
os.vendorVersion = os.version.substring(ix+1);
|
||||||
os.name = NAME_SOLARIS;
|
os.name = NAME_SOLARIS;
|
||||||
}
|
}
|
||||||
else if (os.name.equals("HP-UX")) {
|
else if (os.name.equals("HP-UX")) {
|
||||||
|
|
Loading…
Reference in New Issue