summaryrefslogtreecommitdiff
path: root/src/org/stsci/OSInfo.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/stsci/OSInfo.groovy')
-rw-r--r--src/org/stsci/OSInfo.groovy19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/org/stsci/OSInfo.groovy b/src/org/stsci/OSInfo.groovy
deleted file mode 100644
index 04375f8..0000000
--- a/src/org/stsci/OSInfo.groovy
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.stsci
-
-class OSInfo implements Serializable {
- public String name
- public String version
- public String arch
-
- OSInfo () {
- name = 'uname -s'.execute().text.trim()
- if (name == 'Darwin') { name = 'MacOSX' }
- arch = 'uname -m'.execute().text.trim()
- if (arch.matches('^i.*86$')) { arch = 'x86' }
-
- this.name = name
- this.arch = arch
- this.version = 'uname -r'.execute().text.trim()
- }
-
-}