Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 13:42:48 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 13:42:48 +0000
commit614d6374b86120eb3a34fc8316235feb3eeb9d81 (patch)
tree2963dd400d5a53bdbcc9d7c2c8a94e2305027a5a /archinstall/lib
parent3e97b1e93c0ccb618c9b996acc0fc93837bf358e (diff)
Forgot to split the path, assumed it was a list
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/general.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index 508a2f89..7718f623 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -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: