forked from mirrors/gecko-dev
Bug 1721477 - Fix documentation suggestion for PATH augmentation. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D168534
This commit is contained in:
parent
24bf89fe52
commit
a26e08027d
2 changed files with 3 additions and 3 deletions
|
|
@ -74,10 +74,10 @@ You can test that Mercurial is installed by running:
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
# If you're using zsh
|
# If you're using zsh
|
||||||
echo "export PATH=\"$(python3 -m site --user-base)/bin:$PATH\"" >> ~/.zshenv
|
echo 'export PATH="'"$(python3 -m site --user-base)"'/bin:$PATH"' >> ~/.zshenv
|
||||||
|
|
||||||
# If you're using bash
|
# If you're using bash
|
||||||
echo "export PATH=\"$(python3 -m site --user-base)/bin:$PATH\"" >> ~/.bashrc
|
echo 'export PATH="'"$(python3 -m site --user-base)"'/bin:$PATH"' >> ~/.bashrc
|
||||||
|
|
||||||
# If you're using a different shell, follow its documentation to see
|
# If you're using a different shell, follow its documentation to see
|
||||||
# how to configure your PATH. Ensure that `$(python3 -m site --user-base)/bin`
|
# how to configure your PATH. Ensure that `$(python3 -m site --user-base)/bin`
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ both ``hg`` and ``moz-phab`` will be easily accessible:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
echo "export PATH=\"$(python3 -m site --user-base)/bin:$PATH\"" >> ~/.zshenv
|
echo 'export PATH="'"$(python3 -m site --user-base)"'/bin:$PATH"' >> ~/.zshenv
|
||||||
python3 -m pip install --user mercurial==6.1.4
|
python3 -m pip install --user mercurial==6.1.4
|
||||||
|
|
||||||
Now, restart your shell so that the ``PATH`` change took effect.
|
Now, restart your shell so that the ``PATH`` change took effect.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue