[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:
Yann E. MORIN" 2009-06-18 18:55:07 +02:00
parent 1015f6f33c
commit 3ffe23e274

View File

@ -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