From: Olliver Schinagl <oliver@schinagl.nl>
Date: Wed, 14 Dec 2022 10:39:17 +0000 (+0100)
Subject: image-commands.mk: Be consistent in command invocation
X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=47df168dd279d52127f6bbc623e79bdeeb6c8fd4;p=openwrt%2Fstaging%2Fblocktrron.git

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@schinagl.nl>
Acked-by: Christian Marangi <ansuelsmth@gmail.com>
---

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