use $(TAR) instead of tar

SVN-Revision: 9058
lede-17.01
Felix Fietkau 2007-09-29 00:16:33 +00:00
parent dbeb0fad24
commit 894bd2f7dc
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ $(strip \
endef endef
# code for creating tarballs from svn/git checkouts - useful for mirror support # code for creating tarballs from svn/git checkouts - useful for mirror support
dl_pack/bz2=tar cfj $(1) $(2) dl_pack/bz2=$(TAR) cfj $(1) $(2)
dl_pack/gz=tar cfz $(1) $(2) dl_pack/gz=$(TAR) cfz $(1) $(2)
dl_pack/unknown=echo "ERROR: Unknown pack format for file $(1)"; false dl_pack/unknown=echo "ERROR: Unknown pack format for file $(1)"; false
define dl_pack define dl_pack
$(if $(dl_pack/$(call ext,$(1))),$(dl_pack/$(call ext,$(1))),$(dl_pack/unknown)) $(if $(dl_pack/$(call ext,$(1))),$(dl_pack/$(call ext,$(1))),$(dl_pack/unknown))