Update mac_build_instructions.md to avoid python PATH issue
Python is unable to find cipd if the path to depot_tools in PATH
is relative or uses shell tokens like '~'.
[email protected]
Bug: 952865
Change-Id: I1b17921f84862e515108ac449314f8497b9cbb84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1571488
Reviewed-by: Nico Weber <[email protected]>
Commit-Queue: Gabriel Charette <[email protected]>
Auto-Submit: Gabriel Charette <[email protected]>
Cr-Commit-Position: refs/heads/master@{#653608}
diff --git a/docs/mac_build_instructions.md b/docs/mac_build_instructions.md
index 9ee43ac0..9003d19 100644
--- a/docs/mac_build_instructions.md
+++ b/docs/mac_build_instructions.md
@@ -31,9 +31,10 @@
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
```
-Add `depot_tools` to the end of your PATH (you will probably want to put this
-in your `~/.bashrc` or `~/.zshrc`). Assuming you cloned `depot_tools` to
-`/path/to/depot_tools`:
+Add `depot_tools` to the end of your PATH (you will probably want to put this in
+your `~/.bash_profile` or `~/.zshrc`). Assuming you cloned `depot_tools` to
+`/path/to/depot_tools` (note: you **must** use the absolute path or Python will
+not be able to find infra tools):
```shell
$ export PATH="$PATH:/path/to/depot_tools"