Homebrew (Ruby) throws an error when it gets `SIGPIPE` from the `--max-count` on `grep`.
This commit is contained in:
parent
fb3eaa3e3c
commit
e0051d17d8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue