fabacab / git-archive-all.sh

A bash shell script wrapper for git-archive that archives a git superproject and its submodules, if it has any.
216 stars 86 forks source link

Fix ZIP handling for submodules #38

Open MaxGaukler opened 6 years ago

MaxGaukler commented 6 years ago

Before, zip --grow was used, but this does not unpack the individual ZIP files (at least on Debian Linux stable with "Zip 3.0 by Info-ZIP"). Therefore the submodules weren't present as folders, but as ZIP files within the main ZIP file.

Unfortunately, the more intelligent option of using zipmerge didn't work for be because it kills the x bit of directories.