diff options
Diffstat (limited to 'meta/files/toolchain-shar-relocate.sh')
-rw-r--r-- | meta/files/toolchain-shar-relocate.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/files/toolchain-shar-relocate.sh index e3c10018ef..5433741296 100644 --- a/meta/files/toolchain-shar-relocate.sh +++ b/meta/files/toolchain-shar-relocate.sh | |||
@@ -55,8 +55,11 @@ fi | |||
55 | for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do | 55 | for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do |
56 | $SUDO_EXEC find $replace -type f | 56 | $SUDO_EXEC find $replace -type f |
57 | done | xargs -n100 file | grep ":.*\(ASCII\|script\|source\).*text" | \ | 57 | done | xargs -n100 file | grep ":.*\(ASCII\|script\|source\).*text" | \ |
58 | awk -F':' '{printf "\"%s\"\n", $1}' | \ | 58 | awk -F': ' '{printf "\"%s\"\n", $1}' | \ |
59 | grep -Ev "$target_sdk_dir/(environment-setup-*|relocate_sdk*|${0##*/})" | \ | 59 | grep -Fv -e "$target_sdk_dir/environment-setup-" \ |
60 | -e "$target_sdk_dir/relocate_sdk" \ | ||
61 | -e "$target_sdk_dir/post-relocate-setup" \ | ||
62 | -e "$target_sdk_dir/${0##*/}" | \ | ||
60 | xargs -n100 $SUDO_EXEC sed -i \ | 63 | xargs -n100 $SUDO_EXEC sed -i \ |
61 | -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g" \ | 64 | -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g" \ |
62 | -e "s:^#! */usr/bin/perl.*:#! /usr/bin/env perl:g" \ | 65 | -e "s:^#! */usr/bin/perl.*:#! /usr/bin/env perl:g" \ |