mirror of
https://github.com/google/nomulus
synced 2026-02-11 15:21:28 +00: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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user