diff --git a/trunk/auto/setup_variables.sh b/trunk/auto/setup_variables.sh index a3149105b..0fcc1a67a 100755 --- a/trunk/auto/setup_variables.sh +++ b/trunk/auto/setup_variables.sh @@ -29,3 +29,7 @@ if [[ $SRS_CLEAN == NO ]]; then echo "Fast cleanup, if need to do full cleanup, please use: make clean" fi +# Python or python2, for CentOS8. +python2 --version >/dev/null 2>&1 && alias python=python2 && +echo "Alias python2 as python" +