test,tools: use sys.executable instead of hardcoding python3
Thanks to Simon!
This commit is contained in:
parent
d801ef3958
commit
5c345fb3fa
2 changed files with 3 additions and 2 deletions
|
|
@ -374,7 +374,7 @@ class OSBuild(contextlib.AbstractContextManager):
|
|||
output_dir_context = tempfile.TemporaryDirectory(dir="/var/tmp")
|
||||
output_dir = cm.enter_context(output_dir_context)
|
||||
|
||||
cmd_args = ["python3", "-m", "osbuild"]
|
||||
cmd_args = [sys.executable, "-m", "osbuild"]
|
||||
|
||||
cmd_args += ["--json"]
|
||||
cmd_args += ["--libdir", "."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue