mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 17:10:35 +02:00
include: download.mk: correct tar argument order when packing checkouts
GNU TAR v1.26 will fail with "no such file or directory" errors when the output file does not immediately follow the -f switch. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34460 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f83579f15e
commit
976bbc4212
@ -29,8 +29,8 @@ $(strip \
|
||||
endef
|
||||
|
||||
# code for creating tarballs from cvs/svn/git/bzr/hg/darcs checkouts - useful for mirror support
|
||||
dl_pack/bz2=$(TAR) cfj $(1) $(2)
|
||||
dl_pack/gz=$(TAR) cfz $(1) $(2)
|
||||
dl_pack/bz2=$(TAR) cjf $(1) $(2)
|
||||
dl_pack/gz=$(TAR) czf $(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