Merge "Pass python3 flag to bindep"

This commit is contained in:
Zuul 2019-03-08 01:41:37 +00:00 committed by Gerrit Code Review
commit 626ee3d0b7
1 changed files with 2 additions and 0 deletions

View File

@ -8,9 +8,11 @@ export distro=${DISTRO:=$distro}
if [[ "${PYTHON3}" == "no" ]]; then
dpkg_python_packages=("python" "virtualenv")
rpm_python_packages=("python" "python-virtualenv")
python3=""
else
dpkg_python_packages=("python3" "python3-virtualenv")
rpm_python_packages=("python3" "python3-virtualenv")
python3="python3"
fi
case ${distro} in