Skip to content

Commit

Permalink
fix: cmd path on windows for gu tool
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon committed Aug 17, 2023
1 parent 4c38d31 commit 406fc98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/graalvm_bindist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,10 @@ def _graal_postinstall_actions(ctx, os):
))

def _relative_binpath(tail, name, tail_override = None):
return "bin/%s%s" % (name, tail_override or tail)
tail_fmt = ""
if len(tail) > 0 or (tail_override != None and len(tail_override) > 0):
tail_fmt = tail_override or tail
return "bin/%s%s" % (name, tail_fmt)

def _render_alias(name, actual):
return """
Expand Down

0 comments on commit 406fc98

Please sign in to comment.