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.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/stsci/OSInfo.groovy b/src/org/stsci/OSInfo.groovy
index 5d6c93b..04375f8 100644
--- a/src/org/stsci/OSInfo.groovy
+++ b/src/org/stsci/OSInfo.groovy
@@ -8,7 +8,7 @@ class OSInfo implements Serializable {
OSInfo () {
name = 'uname -s'.execute().text.trim()
if (name == 'Darwin') { name = 'MacOSX' }
- arch = 'uname -p'.execute().text.trim()
+ arch = 'uname -m'.execute().text.trim()
if (arch.matches('^i.*86$')) { arch = 'x86' }
this.name = name