Skip to content

Commit

Permalink
🩹 Fix centos detection
Browse files Browse the repository at this point in the history
  • Loading branch information
neqochan committed Jul 23, 2022
1 parent 7fcf63e commit 1214a38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "rules_ll",
version = "20220723.0",
version = "20220723.1",
execution_platforms_to_register = [
"@rules_ll//ll:ll_linux_exec_platform",
],
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ workspace:
touch WORKSPACE.bazel .bazelrc
echo cbb4eb1973a7fb49d15ced3fea6498f714f3ab0c > .bazelversion
echo 'bazel_dep(name="rules_ll", version="20220723.0")' > MODULE.bazel
echo 'bazel_dep(name="rules_ll", version="20220723.1")' > MODULE.bazel
Copy the following lines into the just created ``.bazelrc`` file:

Expand Down
2 changes: 1 addition & 1 deletion examples/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bazel_dep(name="rules_ll", version="20220723.0")
bazel_dep(name="rules_ll", version="20220723.1")
local_path_override(module_name = "rules_ll", path = "..")

# local_path_override(module_name = "hipsycl", path="/mnt/hipSYCL")
2 changes: 1 addition & 1 deletion ll/os.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _os_id(repository_ctx):
os_id = None
for line in repository_ctx.read("/etc/os-release").splitlines():
if line.startswith("ID="):
os_id = line.split("=")[-1]
os_id = line.split("=")[-1].replace('"', "")

if os_id == None:
fail("Could not read ID from /etc/os-release.")
Expand Down

0 comments on commit 1214a38

Please sign in to comment.