diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-15 12:48:23 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-15 12:48:23 (EDT) |
commit | 3e8d1ec6ca4c6aa6420b59f0591e7c4de64e26bc (patch) | |
tree | c1e6412bfb2dd3a8951d643ffd7c52463b95219f /lib | |
parent | d5d3083337fc3f3466ffbb49db366dd5298a56f3 (diff) |
prof_proteanos_detect_arch(): Fix syntax errors
Diffstat (limited to 'lib')
-rw-r--r-- | lib/profiles/proteanos.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/profiles/proteanos.sh b/lib/profiles/proteanos.sh index 965eb45..f821c88 100644 --- a/lib/profiles/proteanos.sh +++ b/lib/profiles/proteanos.sh @@ -23,8 +23,8 @@ prof_proteanos_detect_arch() local uname_s= local arch= - uname_m="$((uname -m) 2>/dev/null)" || uname_m='unknown' - uname_s="$((uname -s) 2>/dev/null)" || uname_s='unknown' + uname_m="$( (uname -m) 2>/dev/null)" || uname_m='unknown' + uname_s="$( (uname -s) 2>/dev/null)" || uname_s='unknown' case "${uname_m}:${uname_s}" in 'x86_64:Linux') |