Skip to content

Commit

Permalink
Fix the emsdk patching. (#14673)
Browse files Browse the repository at this point in the history
If the patch fails, because of `|| true`, bazel continues
the build.

Signed-off-by: Jonh Wendell <jonh.wendell@redhat.com>
  • Loading branch information
jwendell authored Jan 14, 2021
1 parent fda60bb commit e3bbb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def _emscripten_toolchain():
".emscripten_sanity",
]),
patch_cmds = [
"[[ \"$(uname -m)\" == \"x86_64\" ]] && ./emsdk install 2.0.7 && ./emsdk activate --embedded 2.0.7 || true",
"if [[ \"$(uname -m)\" == \"x86_64\" ]]; then ./emsdk install 2.0.7 && ./emsdk activate --embedded 2.0.7; fi",
],
)

Expand Down

0 comments on commit e3bbb5f

Please sign in to comment.