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.
214 stars 86 forks source link

support for osx #8

Closed athibaud closed 11 years ago

athibaud commented 11 years ago

stock osx comes with old bsd utils so /usr/bin/tar doesn't accept the --concatenate option. luckily though stock osx comes with /usr/bin/gnutar which is pretty much the same version as the gnu/linux tar which accepts the --concatenate option.

if we're on osx (ie uname => Darwin) use gnutar rather than tar.

fabacab commented 11 years ago

Thank you for this, @athibaud.