Percona-Lab / mongodb_consistent_backup

A tool for performing consistent backups of MongoDB Clusters or Replica Sets
https://www.percona.com
Apache License 2.0
276 stars 81 forks source link

Fix building on macOS #285

Closed dschneller closed 5 years ago

dschneller commented 5 years ago

There already was a switch in place for the Python executable, but both the readlink and cp commands use flags not present on the default macOS binaries.

This commit adds a check upfront and aborts with a message about you needing the coreutils package from homebrew to get the GNU variants of both commands.

As a small additional change I added a new entry for IntelliJ module files to .gitignore.