From 0acb96ea9debfb706fd5897aa9f84e10d38cda3e Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Wed, 7 Dec 2022 23:27:33 -0800 Subject: [PATCH] provision: Respect proxy settings when installing shellcheck+shfmt. --- tools/lib/provision.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/lib/provision.py b/tools/lib/provision.py index 5994bf8e29..72b19fc35d 100755 --- a/tools/lib/provision.py +++ b/tools/lib/provision.py @@ -424,9 +424,9 @@ def main(options: argparse.Namespace) -> NoReturn: sys.exit(1) # Install shellcheck. - run_as_root(["tools/setup/install-shellcheck"]) + run_as_root([*proxy_env, "tools/setup/install-shellcheck"]) # Install shfmt. - run_as_root(["tools/setup/install-shfmt"]) + run_as_root([*proxy_env, "tools/setup/install-shfmt"]) # Install transifex-cli. run_as_root([*proxy_env, "tools/setup/install-transifex-cli"])