diff options
Diffstat (limited to 'scripts/build/internals.sh')
-rw-r--r-- | scripts/build/internals.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index 13239bfc..555db36d 100644 --- a/scripts/build/internals.sh +++ b/scripts/build/internals.sh @@ -68,7 +68,7 @@ do_finish() { # 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 |