浏览代码

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 <[email protected]>
Christian Marangi 2 年之前
父节点
当前提交
1506f8c322
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/ext-tools.sh

+ 1 - 1
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() {