summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/internals.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index 13239bf..555db36 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