From: Olliver Schinagl Date: Wed, 14 Dec 2022 10:39:17 +0000 (+0100) Subject: image-commands.mk: Be consistent in command invocation X-Git-Tag: v22.03.3~24 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fcff234fd89e8b24aa3ad2f352ddbb5304c38dc1;p=openwrt%2Fopenwrt.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 Acked-by: Christian Marangi (cherry picked from commit 47df168dd279d52127f6bbc623e79bdeeb6c8fd4) --- diff --git a/include/image-commands.mk b/include/image-commands.mk index 402e3d71ed..b4e1a67342 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -298,7 +298,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