[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c7d42e981932625ea80733598555ebe8fa9cf0d4
Author: Alexander Færøy <ahf@xxxxxxxxxxxxxx>
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:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits