mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-22 14:42:49 +00:00
use $(TAR) instead of tar
SVN-Revision: 9058
This commit is contained in:
parent
dbeb0fad24
commit
894bd2f7dc
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user