Skip to content

Commit 76b8225

Browse files
Fix key error in build_llvm.py (#2014)
1 parent e8fe2d1 commit 76b8225

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-scripts/build_llvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def main():
283283
return commit_hash is not None
284284

285285
repo_addr = llvm_info["repo"]
286-
if os.environ['USE_GIT_SSH'] == "true":
286+
if os.environ.get('USE_GIT_SSH') == "true":
287287
repo_addr = llvm_info["repo_ssh"]
288288
else:
289289
print("To use ssh for git clone, run: export USE_GIT_SSH=true")

0 commit comments

Comments
 (0)