Skip to content

Commit 0313de5

Browse files
morotenEdSchouten
authored andcommitted
Use unix:// instead of unix:
unix:/home/user/.cache/bb_clientd/grpc does not work with Bazel, but unix:///home/user/.cache/bb_clientd/grpc does work. Update README.md accordingly.
1 parent 6699f1f commit 0313de5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ bazel build --remote_executor mycluster-prod.example.com --remote_instance_name
119119
You can let it use bb\_clientd by running it like this instead:
120120

121121
```
122-
bazel build --remote_executor "unix:${XDG_CACHE_HOME:-${HOME}/.cache}/bb_clientd/grpc" --remote_instance_name mycluster-prod.example.com/hello [more options]
122+
bazel build --remote_executor "unix://${XDG_CACHE_HOME:-${HOME}/.cache}/bb_clientd/grpc" --remote_instance_name mycluster-prod.example.com/hello [more options]
123123
```
124124

125125
Notice how the hostname of the cluster has become a prefix of
@@ -143,7 +143,7 @@ name acts as its own namespace. This means that if you want to cache the
143143
results of a build performed locally, you may run Bazel as follows:
144144

145145
```
146-
bazel build --remote_cache "unix:${XDG_CACHE_HOME:-${HOME}/.cache}/bb_clientd/grpc" --remote_instance_name local/some/project --remote_upload_local_results=true [more options]
146+
bazel build --remote_cache "unix://${XDG_CACHE_HOME:-${HOME}/.cache}/bb_clientd/grpc" --remote_instance_name local/some/project --remote_upload_local_results=true [more options]
147147
```
148148

149149
The advantage of this option over Bazel's own `--disk_cache` flag is
@@ -257,5 +257,5 @@ Bazel can be configured to use this feature by providing the following
257257
additional command line arguments:
258258

259259
```
260-
--experimental_remote_output_service "unix:${XDG_CACHE_HOME:-${HOME}/.cache}/bb_clientd/grpc" --experimental_remote_output_service_output_path_prefix "${HOME}/bb_clientd/outputs"
260+
--experimental_remote_output_service "unix://${XDG_CACHE_HOME:-${HOME}/.cache}/bb_clientd/grpc" --experimental_remote_output_service_output_path_prefix "${HOME}/bb_clientd/outputs"
261261
```

0 commit comments

Comments
 (0)