Pass python3 flag to bindep

pydep is passing python3 flag correctly, but bindep isn't.

Instead bindep only received a "yes" or "no", based on the arguments
given, to its profile.

Change-Id: Iad236bfa9da3e8ce514df8660da39712f1cbebdd
This commit is contained in:
Jean-Philippe Evrard 2019-03-06 11:39:40 +01:00
parent 19072929b1
commit 39409ffe15
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