summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/functions b/scripts/functions
index d110f4d..2e10641 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -905,9 +905,14 @@ do_finish() {
if [ "${CT_BARE_METAL}" != "y" ]; then
CT_DoLog EXTRA "Installing the populate helper"
- sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \
- -e 's|@@CT_bash@@|'"${bash}"'|g;' \
- "${CT_LIB_DIR}/scripts/populate.in" \
+ sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \
+ -e 's|@@CT_install@@|'"${install}"'|g;' \
+ -e 's|@@CT_bash@@|'"${bash}"'|g;' \
+ -e 's|@@CT_grep@@|'"${grep}"'|g;' \
+ -e 's|@@CT_make@@|'"${make}"'|g;' \
+ -e 's|@@CT_awk@@|'"${awk}"'|g;' \
+ -e 's|@@CT_sed@@|'"${sed}"'|g;' \
+ "${CT_LIB_DIR}/scripts/populate.in" \
>"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
CT_DoExecLog ALL chmod 755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
fi