diff -r c9654a027900 -r 7d3e9e91dd9a scripts/build/internals.sh --- a/scripts/build/internals.sh Sun Feb 28 10:19:13 2010 +0100 +++ b/scripts/build/internals.sh Wed May 19 18:08:23 2010 +0200 @@ -68,7 +68,7 @@ # scripts, we don't know if they would in the end spawn a binary... # Just skip symlinks for _t in "${CT_TARGET}-"*; do - if [ "$( LANG=C stat -c '%F' "${_t}" )" != "symbolic link" ]; then + if [ ! -L "${_t}" ]; then CT_DoExecLog ALL mv "${_t}" ".${_t}" CT_DoExecLog ALL ln ".${CT_TARGET}-wrapper" "${_t}" fi