Commit b6780c16 authored by Gabriel Charette's avatar Gabriel Charette Committed by Commit Bot

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 '~'.

R=thakis@chromium.org

Bug: 952865
Change-Id: I1b17921f84862e515108ac449314f8497b9cbb84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1571488Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Auto-Submit: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653608}
parent 83d9eea7
...@@ -31,9 +31,10 @@ Clone the `depot_tools` repository: ...@@ -31,9 +31,10 @@ Clone the `depot_tools` repository:
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $ 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 Add `depot_tools` to the end of your PATH (you will probably want to put this in
in your `~/.bashrc` or `~/.zshrc`). Assuming you cloned `depot_tools` to your `~/.bash_profile` or `~/.zshrc`). Assuming you cloned `depot_tools` to
`/path/to/depot_tools`: `/path/to/depot_tools` (note: you **must** use the absolute path or Python will
not be able to find infra tools):
```shell ```shell
$ export PATH="$PATH:/path/to/depot_tools" $ export PATH="$PATH:/path/to/depot_tools"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment