From 7f9fe6def81ebe837a5551b06ff5c7e759598555 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 24 Jan 2018 21:27:41 -0500 Subject: Uses pair assignment instead of k,v; Add remove function Signed-off-by: Joseph Hunkeler --- src/org/stsci/OSInfo.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/stsci/OSInfo.groovy') 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 -- cgit