1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2026-01-12 16:32:54 -05:00

what would shellcheck do

This commit is contained in:
2020-05-13 12:33:00 -04:00
parent 875fe20c06
commit 3c46bb9f05
3 changed files with 9 additions and 11 deletions

View File

@@ -11,7 +11,8 @@ sudo softwareupdate --install --all
# This whole thing kinda hinges on having Homebrew...
# Check for it and install from GitHub if it's not there
if test ! $(which brew); then
# shellcheck disable=SC2230
if test ! "$(which brew)"; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi