summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/files/toolchain-shar-relocate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/files/toolchain-shar-relocate.sh
index b017714df0..69ea063c8c 100644
--- a/meta/files/toolchain-shar-relocate.sh
+++ b/meta/files/toolchain-shar-relocate.sh
@@ -57,8 +57,8 @@ fi
57# replace the host perl with SDK perl. 57# replace the host perl with SDK perl.
58for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do 58for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do
59 $SUDO_EXEC find $replace -type f 59 $SUDO_EXEC find $replace -type f
60done | xargs -n100 file | grep ":.*\(ASCII\|script\|source\).*text" | \ 60done | xargs -d '\n' -n100 file | \
61 awk -F': ' '{printf "\"%s\"\n", $1}' | \ 61 awk -F': ' '{if (match($2, ".*(ASCII|script|source).*text")) {printf "\"%s\"\n", $1}}' | \
62 grep -Fv -e "$target_sdk_dir/environment-setup-" \ 62 grep -Fv -e "$target_sdk_dir/environment-setup-" \
63 -e "$target_sdk_dir/relocate_sdk" \ 63 -e "$target_sdk_dir/relocate_sdk" \
64 -e "$target_sdk_dir/post-relocate-setup" \ 64 -e "$target_sdk_dir/post-relocate-setup" \