Random fixups in run.sh
This commit is contained in:
parent
5b6c6a34f6
commit
abbb68ecb8
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
# Detecting command that calls python 3.7
|
# Detecting command that calls python 3.7
|
||||||
python_cmd=""
|
python_cmd=""
|
||||||
if [[ `python --version 2>&1` == *"Python 3.7"* ]]; then
|
if [[ $(python --version 2>&1) == *"Python 3.7"* ]]; then
|
||||||
python_cmd="python"
|
python_cmd="python"
|
||||||
fi
|
fi
|
||||||
if [[ `python37 --version 2>&1` == *"Python 3.7"* ]]; then
|
if [[ $(python37 --version 2>&1) == *"Python 3.7"* ]]; then
|
||||||
python_cmd="python37"
|
python_cmd="python37"
|
||||||
fi
|
fi
|
||||||
if [[ `python3.7 --version 2>&1` == *"Python 3.7"* ]]; then
|
if [[ $(python3.7 --version 2>&1) == *"Python 3.7"* ]]; then
|
||||||
python_cmd="python3.7"
|
python_cmd="python3.7"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue