Skip to content

Commit

Permalink
sh_configure.bzl: FreeBSD is also a known platform
Browse files Browse the repository at this point in the history
Change-Id: I51ffe838d8c0e067f8e5ab3a6aef18e1ad063638
PiperOrigin-RevId: 196666303
  • Loading branch information
aehlig authored and Copybara-Service committed May 15, 2018
1 parent 6b3e482 commit ff8162d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/sh/sh_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def _sh_config_impl(repository_ctx):
os_label = "@bazel_tools//platforms:linux"
elif repository_ctx.os.name.startswith("mac"):
os_label = "@bazel_tools//platforms:osx"
elif repository_ctx.os.name.startswith("freebsd"):
os_label = "@bazel_tools//platforms:freebsd"
else:
fail("Unknown OS")

Expand Down

0 comments on commit ff8162d

Please sign in to comment.