platform_build_soong/cmd/zip2zip
Dan Willemsen 82218f285c zip2zip: Support sorting globbed arguments, '**'
When '-s' is passed, any globbed arguments will have their results
sorted. When there are multiple arguments, the files will still be
inserted in argument order.

A bare '**' is now special cased to mean every file in the input zip.

This allows zip2zip to sort entire zip files efficiently by using
`zip2zip -s -i <> -o <> '**'`. This can be useful if your original zip
program used filesystem ordering which was not reproducible.

Test: m -j blueprint_tools (new tests pass)
Change-Id: Ic3512c5fe14c94c6f3e134296905121d2ff8b58a
2017-06-22 15:55:27 -07:00
..
Android.bp zip2zip: Support sorting globbed arguments, '**' 2017-06-22 15:55:27 -07:00
zip2zip.go zip2zip: Support sorting globbed arguments, '**' 2017-06-22 15:55:27 -07:00
zip2zip_test.go zip2zip: Support sorting globbed arguments, '**' 2017-06-22 15:55:27 -07:00