diff options
| author | Tim D. Smith | 2016-02-03 16:01:12 -0800 |
|---|---|---|
| committer | Tim D. Smith | 2016-02-04 00:15:07 -0800 |
| commit | 984a70e6e22241d0a9be21d333dca1757b2a3bfa (patch) | |
| tree | 09cb8ecfe9ae0a2130ed50ca675b5f417d4a95d7 /bin | |
| parent | afe0fde49ceb29aba6f152967582ced5ba206c32 (diff) | |
| download | brew-984a70e6e22241d0a9be21d333dca1757b2a3bfa.tar.bz2 | |
use BSD stat
Closes Homebrew/homebrew#48803.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ elif [[ -n "$HOMEBREW_DEVELOPER" && -f "$HOMEBREW_LIBRARY/Homebrew/dev-cmd/$HOME HOMEBREW_BASH_COMMAND="$HOMEBREW_LIBRARY/Homebrew/dev-cmd/$HOMEBREW_COMMAND.sh" fi -if [[ "$(id -u)" = "0" && "$(stat -f%u "$HOMEBREW_BREW_FILE")" != "0" ]] +if [[ "$(id -u)" = "0" && "$(/usr/bin/stat -f%u "$HOMEBREW_BREW_FILE")" != "0" ]] then case "$HOMEBREW_COMMAND" in instal|install|reinstall|postinstall|ln|link|pin|update|update-bash|upgrade|create|migrate|tap|switch) |
