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:
parent
19072929b1
commit
39409ffe15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue