Skip to content

Commit

Permalink
fix: enable to override JAVABIN of wrapper script (bazelbuild#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishiking authored Oct 10, 2022
1 parent 85f85d1 commit 4960e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scala/private/phases/phase_write_executable.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _write_executable_non_windows(ctx, executable, rjars, main_class, jvm_flags,
[ctx.expand_location(f, ctx.attr.data) for f in jvm_flags],
)

javabin = "export REAL_EXTERNAL_JAVA_BIN=${JAVABIN};JAVABIN=%s/%s" % (
javabin = "export REAL_EXTERNAL_JAVA_BIN=${JAVABIN};JAVABIN=${JAVABIN:-%s/%s}" % (
runfiles_root(ctx),
wrapper.short_path,
)
Expand Down

0 comments on commit 4960e77

Please sign in to comment.