summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-07-08 13:36:33 +0000
committerLars Wirzenius <liw@liw.fi>2023-07-08 13:36:33 +0000
commit526c03cfa7db98de8c8921780a0f05bbad4e5a2f (patch)
tree7519a7522590317bef2878da68e2bb93c1a61553
parent51f27e090894e9462581e3972bf1121e95c89fe0 (diff)
parent53ab48458efa0ae5522dc3cc59ecf7b54b229dcb (diff)
downloadv-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
-rwxr-xr-xv-i6
1 files changed, 5 insertions, 1 deletions
diff --git a/v-i b/v-i
index 7605bc0..c4772fc 100755
--- a/v-i
+++ b/v-i
@@ -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")