Homebrew (Ruby) throws an error when it gets `SIGPIPE` from the `--max-count` on `grep`.

This commit is contained in:
Chris Simons 2020-05-02 13:58:22 -07:00
parent fb3eaa3e3c
commit e0051d17d8
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ fi
# Check for macdeployqt on Homebrew # Check for macdeployqt on Homebrew
if which -s brew ; then if which -s brew ; then
info "Homebrew found, searching for macdeployqt" info "Homebrew found, searching for macdeployqt"
DEPLOYQT="$(brew list qt | grep --only --max-count 1 '/.*macdeployqt')" DEPLOYQT="$(brew list qt | grep --only '/.*macdeployqt' | head -1)"
if [ ! -x "$DEPLOYQT" ]; then if [ ! -x "$DEPLOYQT" ]; then
error Please install package qt error Please install package qt
exit 1 exit 1