summaryrefslogtreecommitdiffhomepage
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:59 +0000
commita6f65a3ac66bd4e81a0c33ef8ec5edd9aa7cffb2 (patch)
treec210212c5fb4226612b799378626668c78343dbc
parented566e35325ef294a23af3ec2397ec77c75b98a3 (diff)
downloadslibtool-a6f65a3ac66bd4e81a0c33ef8ec5edd9aa7cffb2.tar.bz2
slibtool-a6f65a3ac66bd4e81a0c33ef8ec5edd9aa7cffb2.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