kumquat-buildroot/support/download
Yann E. MORIN 6e2f5d0254 download/git: fix transform regexp for older tar versions
Older versions of tar (e.g. 1.27.1) incorrectly interpret the escaping
of the regexp separator, and generate broken tarballs.

For example, given the following transform expression:
    --transform="s/^\.\//squashfs-e38956b92f738518c29734399629e7cdb33072d3\//"

the resulting paths in the generated tarball would be:
    squashfs-e38956b92f738518c29734399629e7cdb33072d3\/

i.e. a directory which last character is indeed a '\'.

We fix that by using a separator which is very unlikely to occur in a
filename.

Fixes:
    http://autobuild.buildroot.org/results/742/7427f34e5c9f6d043b0fe6ad2c66cc0f31d2b24f/

and probably a slew of others as well...

Take this opportunity to fix indentation on the following line
(leading spaces, not TABs).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-20 10:48:27 +02:00
..
bzr core/pkg-download: change all helpers to use common options 2018-04-02 12:22:50 +02:00
check-hash support/download: fix check_one_hash description 2017-09-19 22:11:30 +02:00
cvs download: put most of the infra in dl-wrapper 2018-04-02 14:19:51 +02:00
dl-wrapper support/download/dl-wrapper: pass the correct -N option 2018-04-12 22:54:00 +02:00
file core/download fix local backend 2018-04-06 12:43:47 +02:00
git download/git: fix transform regexp for older tar versions 2018-04-20 10:48:27 +02:00
hg core/pkg-download: change all helpers to use common options 2018-04-02 12:22:50 +02:00
scp core/pkg-download: change all helpers to use common options 2018-04-02 12:22:50 +02:00
svn core/pkg-download: change all helpers to use common options 2018-04-02 12:22:50 +02:00
wget download: put most of the infra in dl-wrapper 2018-04-02 14:19:51 +02:00