[maintainer-tools] update_git_source_package: add STAGING_DIR_HOST to PATH

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 21 13:16:16 PST 2023


nbd pushed a commit to maintainer-tools.git, branch master:
https://git.openwrt.org/a7b60dc01e7953e3cb3b35606bb49e5a20bb914d

commit a7b60dc01e7953e3cb3b35606bb49e5a20bb914d
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Nov 20 19:15:08 2023 +0100

    update_git_source_package: add STAGING_DIR_HOST to PATH
    
    Avoids relying on incompatible/missing system utilities
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 update_git_source_package.sh | 1 +
 1 file changed, 1 insertion(+)

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")" \




More information about the lede-commits mailing list