Skip to content

Commit f464599

Browse files
committed
Override USE_BAZEL_VERSION in setup.py
1 parent 2c60c17 commit f464599

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ def run(self):
9191
with open(bazelversion_path) as f:
9292
bazel_version = f.read().strip()
9393
print(f"DEBUG: bazel_version={bazel_version}")
94-
if "USE_BAZEL_VERSION" not in os.environ:
95-
os.environ["USE_BAZEL_VERSION"] = bazel_version
94+
os.environ["USE_BAZEL_VERSION"] = bazel_version
9695
print(f"DEBUG: USE_BAZEL_VERSION={os.environ.get('USE_BAZEL_VERSION')}")
9796

9897
subprocess.check_call(

0 commit comments

Comments
 (0)