DataDog / yubikey

YubiKey at Datadog
MIT License
495 stars 36 forks source link

Fix Notifications script path on Mac M1 #91

Closed klivan closed 3 years ago

klivan commented 3 years ago

On ARM-based Mac (e.g. Macbook M1), the homebrew path has been changed from /usr/local/bin to /opt/homebrew/bin This path was already changed for all scripts, but this is still using hardcoded old path, which does not work on Macs with ARM cpu, so ./git.sh is failing.

klivan commented 3 years ago

Just re-run everything on Mac M1 and it seems to be working with a custom bin directory.

brycekahle commented 2 years ago

I just ran into an issue with this change, in that it assumes the USER_BIN_DIR already exists