From 1a32a0fbbc1962afd3b020fdc6dd7ac6d10136ae Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 17 Jul 2007 21:38:35 +0000 Subject: Remove the symlinks to the build/host tools earlier. diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index 6b3b30b..1fa17c0 100755 --- a/scripts/crosstool.sh +++ b/scripts/crosstool.sh @@ -424,6 +424,11 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then prev_step="${step}" done + CT_DoLog DEBUG "Removing access to the build system tools" + find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG + find "${CT_PREFIX_DIR}/bin" -name "${CT_UNIQ_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG + find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG + # Install the /populator/ CT_DoLog EXTRA "Installing the populate helper" sed -r -e 's,@@CT_READELF@@,'"${CT_PREFIX_DIR}/bin/${CT_TARGET}-readelf"',g;' \ @@ -450,11 +455,6 @@ if [ "${CT_ONLY_DOWNLOAD}" != "y" -a "${CT_ONLY_EXTRACT}" != "y" ]; then rm -rf "${CT_SYSROOT_DIR}/"{,usr/}{man,info} rm -rf "${CT_DEBUG_INSTALL_DIR}/"{,usr/}{man,info} fi - - CT_DoLog DEBUG "Removing access to the build system tools" - find "${CT_PREFIX_DIR}/bin" -name "${CT_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG - find "${CT_PREFIX_DIR}/bin" -name "${CT_UNIQ_BUILD}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG - find "${CT_PREFIX_DIR}/bin" -name "${CT_HOST}-"'*' -exec rm -fv {} \+ |CT_DoLog DEBUG fi CT_DoEnd INFO -- cgit v0.10.2-6-g49f6