Changeset 34460


Ignore:
Timestamp:
2012-12-02T19:35:47+01:00 (5 years ago)
Author:
jow
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/download.mk

    r32079 r34460  
    3030 
    3131# code for creating tarballs from cvs/svn/git/bzr/hg/darcs checkouts - useful for mirror support 
    32 dl_pack/bz2=$(TAR) cfj $(1) $(2) 
    33 dl_pack/gz=$(TAR) cfz $(1) $(2) 
     32dl_pack/bz2=$(TAR) cjf $(1) $(2) 
     33dl_pack/gz=$(TAR) czf $(1) $(2) 
    3434dl_pack/unknown=echo "ERROR: Unknown pack format for file $(1)"; false 
    3535define dl_pack 
Note: See TracChangeset for help on using the changeset viewer.