mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-08-20 10:32:41 +00:00
Fix key error in build_llvm.py (#2014)
This commit is contained in:
parent
e8fe2d1c42
commit
76b8225dac
|
@ -283,7 +283,7 @@ def main():
|
||||||
return commit_hash is not None
|
return commit_hash is not None
|
||||||
|
|
||||||
repo_addr = llvm_info["repo"]
|
repo_addr = llvm_info["repo"]
|
||||||
if os.environ['USE_GIT_SSH'] == "true":
|
if os.environ.get('USE_GIT_SSH') == "true":
|
||||||
repo_addr = llvm_info["repo_ssh"]
|
repo_addr = llvm_info["repo_ssh"]
|
||||||
else:
|
else:
|
||||||
print("To use ssh for git clone, run: export USE_GIT_SSH=true")
|
print("To use ssh for git clone, run: export USE_GIT_SSH=true")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user