From: Christian Marangi Date: Fri, 11 Nov 2022 01:32:15 +0000 (+0100) Subject: scripts: ext-tools: follow links for host tools path X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1506f8c322c6f198d1903c62b19b9cbc12472b4e;p=openwrt%2Fstaging%2Fthess.git scripts: ext-tools: follow links for host tools path Host tools path may be a symbolic link. Use -H with find to follow path links passed from command line to find command. Signed-off-by: Christian Marangi --- diff --git a/scripts/ext-tools.sh b/scripts/ext-tools.sh index bf56f4d9ed..13fbd43018 100755 --- a/scripts/ext-tools.sh +++ b/scripts/ext-tools.sh @@ -5,7 +5,7 @@ HOST_BUILD_DIR=$(pwd)/"build_dir/host" HOST_STAGING_DIR_STAMP=$(pwd)/"staging_dir/host/stamp" refresh_timestamps() { - find "$1" -not -type l -print0 | xargs -0 touch + find -H "$1" -not -type l -print0 | xargs -0 touch } extract_prebuilt_tar() {