summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. 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)
commit3e8d1ec6ca4c6aa6420b59f0591e7c4de64e26bc (patch)
treec1e6412bfb2dd3a8951d643ffd7c52463b95219f
parentd5d3083337fc3f3466ffbb49db366dd5298a56f3 (diff)
prof_proteanos_detect_arch(): Fix syntax errors
-rw-r--r--lib/profiles/proteanos.sh4
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')