Last active
July 7, 2018 04:26
-
-
Save irisjae/3beb3f1296da12a1e7f24ddaeed9c47d to your computer and use it in GitHub Desktop.
mac gnu coreutils check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
[[ `uname` == 'Darwin' ]] && { [ -d "/usr/local/opt/coreutils/libexec/gnubin" ] || { echo "gnu coreutils not found"; exit 1; } && PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment