diff -r d26d8cc7c460 -r 44b2999e2c11 scripts/crosstool.sh --- a/scripts/crosstool.sh Sun Jul 27 16:35:37 2008 +0000 +++ b/scripts/crosstool.sh Sat Aug 09 18:03:02 2008 +0000 @@ -524,9 +524,9 @@ # Install the /populator/ CT_DoLog EXTRA "Installing the populate helper" - sed -r -e 's,@@CT_READELF@@,'"${CT_PREFIX_DIR}/bin/${CT_TARGET}-readelf"',g;' \ - -e 's,@@CT_SYSROOT_DIR@@,'"${CT_SYSROOT_DIR}"',g;' \ - "${CT_LIB_DIR}/tools/populate.in" >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" + sed -r -e 's|@@CT_TARGET@@|'"${CT_TARGET}"'|g;' \ + "${CT_LIB_DIR}/tools/populate.in" \ + >"${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" chmod 755 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-populate" # Create the aliases to the target tools @@ -535,15 +535,13 @@ for t in "${CT_TARGET}-"*; do if [ -n "${CT_TARGET_ALIAS}" ]; then _t=$(echo "$t" |sed -r -e 's/^'"${CT_TARGET}"'-/'"${CT_TARGET_ALIAS}"'-/;') - CT_DoLog DEBUG "Linking '${_t}' -> '${t}'" - ln -sv "${t}" "${_t}" 2>&1 |CT_DoLog ALL + ln -sv "${t}" "${_t}" 2>&1 fi if [ -n "${CT_TARGET_ALIAS_SED_EXPR}" ]; then _t=$(echo "$t" |sed -r -e "${CT_TARGET_ALIAS_SED_EXPR}") - CT_DoLog DEBUG "Linking '${_t}' -> '${t}'" - ln -sv "${t}" "${_t}" 2>&1 |CT_DoLog ALL + ln -sv "${t}" "${_t}" 2>&1 fi - done + done |CT_DoLog ALL CT_Popd CT_EndStep