1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-20 23:58:27 +02:00

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 <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi 2022-11-11 02:32:15 +01:00
parent e3082dc555
commit 1506f8c322
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -5,7 +5,7 @@ HOST_BUILD_DIR=$(pwd)/"build_dir/host"
HOST_STAGING_DIR_STAMP=$(pwd)/"staging_dir/host/stamp" HOST_STAGING_DIR_STAMP=$(pwd)/"staging_dir/host/stamp"
refresh_timestamps() { refresh_timestamps() {
find "$1" -not -type l -print0 | xargs -0 touch find -H "$1" -not -type l -print0 | xargs -0 touch
} }
extract_prebuilt_tar() { extract_prebuilt_tar() {