crosstool.sh.in: better mesage when creating script-overrides

This commit is contained in:
Yann E. MORIN" 2009-09-06 16:49:54 +02:00
parent 9ce2053352
commit 4a1d73f209

View File

@ -83,7 +83,7 @@ CT_DoExecLog DEBUG mkdir -p "${CT_BIN_OVERIDE_DIR}"
cat "${CT_LIB_DIR}/paths.mk" |while read trash line; do cat "${CT_LIB_DIR}/paths.mk" |while read trash line; do
tool="${line%%=*}" tool="${line%%=*}"
path="${line#*=}" path="${line#*=}"
CT_DoLog DEBUG " '${tool}' -> '${path}'" CT_DoLog DEBUG "Creating script-override for '${tool}' -> '${path}'"
printf "#${BANG}${CT_SHELL}\nexec '${path}' \"\${@}\"\n" >"${CT_BIN_OVERIDE_DIR}/${tool}" printf "#${BANG}${CT_SHELL}\nexec '${path}' \"\${@}\"\n" >"${CT_BIN_OVERIDE_DIR}/${tool}"
CT_DoExecLog ALL chmod 700 "${CT_BIN_OVERIDE_DIR}/${tool}" CT_DoExecLog ALL chmod 700 "${CT_BIN_OVERIDE_DIR}/${tool}"
done done