Forgot to split the path, assumed it was a list

This commit is contained in:
Anton Hvornum 2020-07-08 13:42:48 +00:00
parent 3e97b1e93c
commit 614d6374b8
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ def supports_color():
return supported_platform and is_a_tty
def locate_binary(name):
for PATH in os.environ['PATH']:
for PATH in os.environ['PATH'].split(':'):
for root, folders, files in os.walk(PATH):
for file in files:
if file == name:

View File

@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="archinstall",
version="2.0.3rc7",
version="2.0.3rc8",
author="Anton Hvornum",
author_email="anton@hvornum.se",
description="Arch Linux installer - guided, templates etc.",