summaryrefslogtreecommitdiffhomepage
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-27 04:42:22 +0000
committermidipix <writeonce@midipix.org>2021-05-27 04:42:42 +0000
commitb442ccc9232c6c5b6b27e61c7f8db6f5be8e71b9 (patch)
tree27ac2747ca95586f5d62a6d751f34921c3b31031 /sofort
parente122aca27fb8fd309178199500ae97c2b271ed58 (diff)
downloadperk-b442ccc9232c6c5b6b27e61c7f8db6f5be8e71b9.tar.bz2
perk-b442ccc9232c6c5b6b27e61c7f8db6f5be8e71b9.tar.xz
build system: ccenv_set_cc(): fix parenthesis in fallback sub-shell code path.
Diffstat (limited to 'sofort')
-rw-r--r--sofort/ccenv/ccenv.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 14e8b9a..378071f 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -495,8 +495,8 @@ ccenv_set_cc()
ccenv_host=$(eval $ccenv_cc $(printf '%s' "$ccenv_cflags") \
$ccenv_dumpmachine_switch 2>&3)
else
- ccenv_host=$(printf '%s' $(uname -m)-$(uname -p)-$(uname -o)) \
- | tr '[[:upper:]]' '[[:lower:]]'
+ ccenv_host=$(printf '%s' $(uname -m)-$(uname -p)-$(uname -o) \
+ | tr '[[:upper:]]' '[[:lower:]]')
fi
ccenv_cchost=$ccenv_host
@@ -519,8 +519,8 @@ ccenv_set_cc()
elif [ -z "$ccenv_host" ]; then
# assume that no -dumpmachine support means native build (fixme)
- ccenv_host=$(printf '%s' $(uname -m)-$(uname -p)-$(uname -o)) \
- | tr '[[:upper:]]' '[[:lower:]]' 2>&3
+ ccenv_host=$(printf '%s' $(uname -m)-$(uname -p)-$(uname -o) \
+ | tr '[[:upper:]]' '[[:lower:]]')
ccenv_cchost=$ccenv_host
elif [ -n "$ccenv_dumpmachine_switch" ]; then