use $(TAR) instead of tar

SVN-Revision: 9058
This commit is contained in:
Felix Fietkau 2007-09-29 00:16:33 +00:00
parent dbeb0fad24
commit 894bd2f7dc

View File

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