Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-23 21:38:53 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-23 21:38:53 +0000
commitbbb62bc8798bb874835dcbde711d09311b44ae3f (patch)
tree0851f15e85bc37a2317ba70af73d23808c6d76e3
parent5e99895803accce102faeaac5544f76ed54a904d (diff)
Fixed which statement. It's a builtin and not a /usr/bin command
-rw-r--r--archinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index c7b54d12..80ea9f07 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -235,7 +235,7 @@ class sys_command():#Thread):
if not self.cmd[0][0] == '/':
log('Worker command is not executed with absolute path, trying to find: {}'.format(self.cmd[0]), origin='spawn', level=5)
- o = check_output(['which', self.cmd[0]])
+ o = check_output(['/usr/bin/which', self.cmd[0]])
log('This is the binary {} for {}'.format(o.decode('UTF-8'), self.cmd[0]), origin='spawn', level=5)
self.cmd[0] = o.decode('UTF-8').strip()