summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-29 22:35:26 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-01-29 22:35:26 (GMT)
commit2aaa5b8b687d47aea62dd90bf9ff7b2c91af5224 (patch)
tree905e23effecb83e9f87621bbdfa6c895292c8c6f /scripts/functions
parent0cdb819a4e1030460f9c852224d08f866e89ddd1 (diff)
Update populate:
- use tools found by ./configure - some POSIX and eye-candy cleanups /trunk/scripts/functions | 7 4 3 0 +++-- /trunk/scripts/populate.in | 70 46 24 0 ++++++++++++++++++++++++++++++++++------------------ 2 files changed, 50 insertions(+), 27 deletions(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/functions b/scripts/functions
index d6beccf..209d236 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -902,9 +902,10 @@ do_finish() {
if [ "${CT_BARE_METAL}" != "y" ]; then
CT_DoLog EXTRA "Installing the populate helper"
- sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \
- "${CT_LIB_DIR}/scripts/populate.in" \
- >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate"
+ sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \
+ -e 's|@@CT_bash@@|'"${bash}"'|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