From 94035326c037a75073d1364e04bb3744bf23d8f9 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 4 Jan 2020 14:25:15 +0000 Subject: build system: ccenv_{set_cc|dso_verify}(): support deferred command expansion. --- sofort/ccenv/ccenv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sofort') diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index ef7a957..7903b26 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -429,7 +429,7 @@ ccenv_set_cc() ccenv_cmd="$ccenv_cc --target=$ccenv_host -E -xc -" if [ -z "$mb_user_cc" ]; then - $ccenv_cmd < /dev/null > /dev/null \ + $(printf %s "$ccenv_cmd") < /dev/null > /dev/null \ 2>"$ccenv_tmp" || true ccenv_errors=$(cat "$ccenv_tmp") @@ -1206,7 +1206,7 @@ ccenv_dso_verify() rm -f a.out - printf '%s' "$ccenv_str" | $ccenv_cmd \ + printf '%s' "$ccenv_str" | $(printf %s "$ccenv_cmd") \ > /dev/null 2>&3 \ || mb_disable_shared=yes -- cgit v1.2.3