From 1506f8c322c6f198d1903c62b19b9cbc12472b4e Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Fri, 11 Nov 2022 02:32:15 +0100 Subject: [PATCH] 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 --- scripts/ext-tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ext-tools.sh b/scripts/ext-tools.sh index bf56f4d9edf..13fbd43018b 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() { -- 2.30.2