mirror of https://github.com/hak5/openwrt.git
parent
dbeb0fad24
commit
894bd2f7dc
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue