We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8fe2d1 commit 76b8225Copy full SHA for 76b8225
1 file changed
build-scripts/build_llvm.py
@@ -283,7 +283,7 @@ def main():
283
return commit_hash is not None
284
285
repo_addr = llvm_info["repo"]
286
- if os.environ['USE_GIT_SSH'] == "true":
+ if os.environ.get('USE_GIT_SSH') == "true":
287
repo_addr = llvm_info["repo_ssh"]
288
else:
289
print("To use ssh for git clone, run: export USE_GIT_SSH=true")
0 commit comments