diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-07-08 13:36:33 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-07-08 13:36:33 +0000 |
commit | 526c03cfa7db98de8c8921780a0f05bbad4e5a2f (patch) | |
tree | 7519a7522590317bef2878da68e2bb93c1a61553 /v-i | |
parent | 51f27e090894e9462581e3972bf1121e95c89fe0 (diff) | |
parent | 53ab48458efa0ae5522dc3cc59ecf7b54b229dcb (diff) | |
download | v-i-526c03cfa7db98de8c8921780a0f05bbad4e5a2f.tar.gz |
Merge branch 'liw/locale' into 'main'
fix: actually set env variables, and prettify output logging
See merge request larswirzenius/v-i!52
Diffstat (limited to 'v-i')
-rwxr-xr-x | v-i | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -15,6 +15,10 @@ import yaml verbose = False +def indent(s): + return "".join(f" {line}\n" for line in s.splitlines()) + + def log(msg): if verbose: print("INSTALLER:", msg) @@ -551,7 +555,7 @@ def main(): ] if verbose: argv.append("--verbose") - run(argv, check=True, capture_output=True) + run(argv, check=True, capture_output=True, env=env) timings.reached("vmdb2") log("cleanup") |