summaryrefslogtreecommitdiffhomepage
path: root/sofort/ccenv/ccenv.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-17 13:27:38 +0000
committermidipix <writeonce@midipix.org>2021-04-17 13:49:37 +0000
commitd5c0442da3117651e7b71dc0c1e51f12a5b84063 (patch)
tree1cbc2ee7dd5bef8e5091eead457cc1937011e3f7 /sofort/ccenv/ccenv.sh
parent0ae63a70b168a9759838fbf63e6aac4335b278d2 (diff)
downloadtpax-d5c0442da3117651e7b71dc0c1e51f12a5b84063.tar.bz2
tpax-d5c0442da3117651e7b71dc0c1e51f12a5b84063.tar.xz
build system: ccenv_output_defs(): support deferred command expansion.
Diffstat (limited to 'sofort/ccenv/ccenv.sh')
-rw-r--r--sofort/ccenv/ccenv.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 95effcb..5aa1554 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -1271,7 +1271,8 @@ ccenv_output_defs()
-e 's/NATIVE_#/#/g' \
-e 's/ =/=/g' \
-e 's/ +=/+=/g' \
- $ccenv_in > "$ccenv_tmp"
+ $(printf '%s ' $ccenv_in) \
+ > "$ccenv_tmp"
ccenv_in="$ccenv_tmp"
else