From 3e8d1ec6ca4c6aa6420b59f0591e7c4de64e26bc Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Aug 2014 12:48:23 -0400 Subject: prof_proteanos_detect_arch(): Fix syntax errors --- (limited to 'lib/profiles') 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') -- cgit v0.9.1