update_git_source_package: add STAGING_DIR_HOST to PATH
authorFelix Fietkau <nbd@nbd.name>
Mon, 20 Nov 2023 18:15:08 +0000 (19:15 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 20 Nov 2023 18:15:38 +0000 (19:15 +0100)
Avoids relying on incompatible/missing system utilities

Signed-off-by: Felix Fietkau <nbd@nbd.name>
update_git_source_package.sh

index 7f6645e453ccd72455a813802b5c7db55ef44f3d..7a3e137d13ffcb857e947693febbddcd47457d88 100755 (executable)
@@ -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")" \