mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user