[openwrt/openwrt] image-commands.mk: Be consistent in command invocation

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 18 04:18:21 PST 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/47df168dd279d52127f6bbc623e79bdeeb6c8fd4

commit 47df168dd279d52127f6bbc623e79bdeeb6c8fd4
Author: Olliver Schinagl <oliver at schinagl.nl>
AuthorDate: Wed Dec 14 11:39:17 2022 +0100

    image-commands.mk: Be consistent in command invocation
    
    Most/all other tools use the staging dir prefix, gzip should as well.
    
    Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
    Acked-by: Christian Marangi <ansuelsmth at gmail.com>
---
 include/image-commands.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image-commands.mk b/include/image-commands.mk
index 41e1c96948..074e40e4e8 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -307,7 +307,7 @@ define Build/fit
 endef
 
 define Build/gzip
-	gzip -f -9n -c $@ $(1) > $@.new
+	$(STAGING_DIR_HOST)/bin/gzip -f -9n -c $@ $(1) > $@.new
 	@mv $@.new $@
 endef
 




More information about the lede-commits mailing list