1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 22:32:25 +02:00

use $(TAR) instead of tar

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9058 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-09-29 00:16:33 +00:00
parent 900c05f6e1
commit fffefa41d8

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))