travis.yml: use /usr/local/bin on Linux for shellcheck.

This commit is contained in:
Mike McQuaid 2018-10-04 22:57:55 +01:00
parent 4feb851279
commit 39c723a971
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -26,7 +26,7 @@ before_install:
sudo chown -R "$USER" "$HOMEBREW_REPOSITORY"; sudo chown -R "$USER" "$HOMEBREW_REPOSITORY";
else else
LINUX="1"; LINUX="1";
export PATH="$PWD/bin:/usr/bin:/bin"; export PATH="$PWD/bin:/usr/bin:/bin:/usr/local/bin";
fi fi
# umask 022 fixes Linux `brew tests` failures; # umask 022 fixes Linux `brew tests` failures;
- if [ "$LINUX" ]; then - if [ "$LINUX" ]; then