From 5b1a711514c03289e177bbbbf4db101a9a20dd40 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Fri, 6 Dec 2019 17:17:47 +0000 Subject: [PATCH] try tool to extract brew info versions 1 --- buildScripts/travisHomeBrewDoItAll | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/buildScripts/travisHomeBrewDoItAll b/buildScripts/travisHomeBrewDoItAll index 7ee2e93..2f20ad3 100755 --- a/buildScripts/travisHomeBrewDoItAll +++ b/buildScripts/travisHomeBrewDoItAll @@ -33,15 +33,18 @@ echo $PATH echo $LDFLAGS echo $CPPFLAGS which clang -brew info --json=v1 python@2 | jq '.[].installed' +python2Version = brew info --json=v1 python@2 | jq '.[].installed[].version' +echo $python2Version echo "-------------------------------------------------" brew info python@2 -brew switch python 2.7.17 +brew switch python $python2Version echo "-------------------------------------------------" echo $PATH echo $LDFLAGS echo $CPPFLAGS which clang +which python +python --version echo "-------------------------------------------------" #brew install -v pdf2htmlex-new echo "-------------------------------------------------"