scripts/build/internals.sh
branchgcc-4.4
changeset 1408 f334df41f069
parent 1402 146c62142e1b
child 1413 084d38788c1d
     1.1 --- a/scripts/build/internals.sh	Tue Jun 02 21:01:19 2009 +0000
     1.2 +++ b/scripts/build/internals.sh	Sun Jun 14 22:57:57 2009 +0200
     1.3 @@ -56,10 +56,10 @@
     1.4          # Do it unconditionally, even for those tools that happen to be shell
     1.5          # scripts, we don't know if they would in the end spawn a binary...
     1.6          # Just skip symlinks
     1.7 -        for t in "${CT_TARGET}-"*; do
     1.8 -            if [ "$( LANG=C stat -c '%F' "${t}" )" != "symbolic link" ]; then
     1.9 -                CT_DoExecLog ALL mv "${t}" ".${t}"
    1.10 -                CT_DoExecLog ALL ln ".${CT_TARGET}-wrapper" "${t}"
    1.11 +        for _t in "${CT_TARGET}-"*; do
    1.12 +            if [ "$( LANG=C stat -c '%F' "${_t}" )" != "symbolic link" ]; then
    1.13 +                CT_DoExecLog ALL mv "${t}" ".${_t}"
    1.14 +                CT_DoExecLog ALL ln ".${CT_TARGET}-wrapper" "${_t}"
    1.15              fi
    1.16          done
    1.17