mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 09:50:57 +02:00
Run bazel installer as a argument to bash
We used to set the installer as executable on X20 and have kokoro copy it to the temp folder and run it from there. Now that executables on x20 must be built verifiable, we cannot set the +x bit any more. Instead, run the script as an argument to the bash command. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=204536872
This commit is contained in:
parent
f0a47869a5
commit
8c5b647f52
1 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ sh_binary(
|
|||
data = [
|
||||
"bindings.xjb",
|
||||
"//java/google/registry/xml:xml_schema_files",
|
||||
"@com_sun_xml_bind_jaxb_xjc//:XJCFacade",
|
||||
"//third_party/jaxb:jaxb-xjc",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -38,7 +38,7 @@ genrule(
|
|||
outs = xjc_generated_files,
|
||||
cmd = " && ".join([
|
||||
"REP=$$(pwd)",
|
||||
"XJC=$$REP/$(location @com_sun_xml_bind_jaxb_xjc//:XJCFacade)",
|
||||
"XJC=$$REP/$(location //third_party/jaxb:jaxb-xjc)",
|
||||
"OUT=$$REP/$(GENDIR)/java",
|
||||
"TMP=$$(mktemp -d $${TMPDIR:-/tmp}/jaxb.XXXXXXXXXX)",
|
||||
"mkdir -p $$OUT",
|
||||
|
@ -52,7 +52,7 @@ genrule(
|
|||
"cd $$REP",
|
||||
"rm -rf $$TMP",
|
||||
]),
|
||||
tools = ["@com_sun_xml_bind_jaxb_xjc//:XJCFacade"],
|
||||
tools = ["//third_party/jaxb:jaxb-xjc"],
|
||||
)
|
||||
|
||||
sh_binary(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue