From 39409ffe15471d70ce891a883aec2c961198d28b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Wed, 6 Mar 2019 11:39:40 +0100 Subject: [PATCH] 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 --- scripts/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index 18eb104..27ec078 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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