]> _ Git - alire.git/commit
Fix tar option --force-local on Windows
authorFabien Chouteau <chouteau@adacore.com>
Thu, 16 Jan 2020 17:40:12 +0000 (18:40 +0100)
committerAlejandro R Mosteo <amosteo@unizar.es>
Fri, 24 Jan 2020 10:52:06 +0000 (11:52 +0100)
commit4cd71fece33fba61beef1a118d78fd85271d34b6
tree60f4c4c1e479e849ac691623cd217f668ae95f3a
parentc7355f41d8d3a4a136a539a27aedd851aece2d6e
Fix tar option --force-local on Windows

It seems like the --force-local option is not required/available on all
versions of tar for Windows. To handle this situation, we run tar twice.
First with --force-local, and if that fails, we retry without
--force-local.
src/alire/alire-origins-deployers-source_archive.adb