mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-23 17:17:32 +00:00
[finish-step] Fix the tools wrappers
Use the correct variable when iterating upon the tools name to correctly link the tools to the wrapper.
This commit is contained in:
@ -58,7 +58,7 @@ do_finish() {
|
||||
# Just skip symlinks
|
||||
for _t in "${CT_TARGET}-"*; do
|
||||
if [ "$( LANG=C stat -c '%F' "${_t}" )" != "symbolic link" ]; then
|
||||
CT_DoExecLog ALL mv "${t}" ".${_t}"
|
||||
CT_DoExecLog ALL mv "${_t}" ".${_t}"
|
||||
CT_DoExecLog ALL ln ".${CT_TARGET}-wrapper" "${_t}"
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user