mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
crosstool.sh.in: better mesage when creating script-overrides
This commit is contained in:
parent
9ce2053352
commit
4a1d73f209
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user