Commit 5cd690c
host.py: Fix "which" fallback in find_command
Commit "Fallback to which when command -v fails" has changed things to call which(1) in find_command
but used "self.path" has argument to which(1), leading to:
E AttributeError: 'Host' object has no attribute 'path'
Update the call to pass "command" as argument.
Signed-off-by: Arnaud Patard <[email protected]>1 parent 6e24819 commit 5cd690c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments