mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
build: use busybox gzip compatible force option
commit138c763
("build: add --force option to gzip in Build/gzip") added the --force flag to the gzip invocation. Under environments with busybox gzip (e.g Alpine Linux), this fails as busybox only recognizes "-f". Signed-off-by: Mathew McBride <matt@traverse.com.au> (cherry picked from commitfba168f574
)
This commit is contained in:
parent
8af649756f
commit
97cb9d04ee
@ -135,7 +135,7 @@ define Build/lzma-no-dict
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/gzip
|
define Build/gzip
|
||||||
gzip --force -9n -c $@ $(1) > $@.new
|
gzip -f -9n -c $@ $(1) > $@.new
|
||||||
@mv $@.new $@
|
@mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user