diff --git a/install/Downloads/.gitignore b/install/Downloads/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/lib/.gitignore b/lib/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/setup_environment.py b/setup_environment.py index 525f4636..61195324 100755 --- a/setup_environment.py +++ b/setup_environment.py @@ -144,13 +144,15 @@ def check_python(): def check_avabiliy(binary): if binary == "zlib": - binary = "zlib-flate" + binary_name = "zlib-flate" + else: + binary_name = binary if binary == "python": check_python() try: - return check_output(["which", binary]) + return check_output(["which", binary_name]) except subprocess.CalledProcessError: default_path = d_info[binary].default_path if os.path.exists(default_path):