From: Felix Fietkau Date: Mon, 20 Nov 2023 18:15:08 +0000 (+0100) Subject: update_git_source_package: add STAGING_DIR_HOST to PATH X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a7b60dc01e7953e3cb3b35606bb49e5a20bb914d;p=maintainer-tools.git update_git_source_package: add STAGING_DIR_HOST to PATH Avoids relying on incompatible/missing system utilities Signed-off-by: Felix Fietkau --- diff --git a/update_git_source_package.sh b/update_git_source_package.sh index 7f6645e..7a3e137 100755 --- a/update_git_source_package.sh +++ b/update_git_source_package.sh @@ -75,6 +75,7 @@ grep -sq BuildPackage "$MAKEFILE" || { } export TOPDIR +export PATH="$TOPDIR/staging_dir/host/bin:$PATH" eval $( "$MAKE" --no-print-directory -C "$(dirname "$MAKEFILE")" \