Skip to content

Commit

Permalink
Trap the output of command rather than running it directly
Browse files Browse the repository at this point in the history
  • Loading branch information
lanctot committed Nov 9, 2023
1 parent 46ed115 commit 4125bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions open_spiel/scripts/python_extra_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export OPEN_SPIEL_PYTHON_MISC_DEPS="IPython==5.8.0 networkx==2.4 matplotlib==3.5
# Python-version dependent versions
#

echo $PY_VER
verlt $PY_VER 3.11
echo "Set Python version: $PY_VER"
output=`verlt $PY_VER 3.12`
if [ "$?" == 0 ]
then
echo "Python < 3.11 detected"
Expand Down

0 comments on commit 4125bed

Please sign in to comment.