[chutney/master] Only try to run shellcheck --version if it's available.

1 Aug
2019
1 Aug
'19
6:41 a.m.
commit c7d42e981932625ea80733598555ebe8fa9cf0d4 Author: Alexander Færøy <ahf@torproject.org> Date: Thu Jun 20 19:50:54 2019 +0200 Only try to run shellcheck --version if it's available. See: https://bugs.torproject.org/30928 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 795b868..504fd7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -168,7 +168,7 @@ install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then dpkg-query --show; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew list --versions; fi - python --version - - shellcheck --version + - if command -v shellcheck ; then shellcheck --version; fi - tor --version script:
2117
Age (days ago)
2117
Last active (days ago)
0 comments
1 participants
participants (1)
-
teor@torproject.org