summaryrefslogtreecommitdiff
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:36 +0000
commit28d6e3fbb1df77a07ed73a2f040593c148ccccb6 (patch)
tree560268a0347d322722b1229d996b0001105e944b
parentd3c057fe117d81360fdb53bb642813f1b202e6a5 (diff)
downloadsltdl-28d6e3fbb1df77a07ed73a2f040593c148ccccb6.tar.bz2
sltdl-28d6e3fbb1df77a07ed73a2f040593c148ccccb6.tar.xz
build system: ccenv_output_defs(): support deferred command expansion.
-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