Skip to content

Commit

Permalink
Change "~" to "$HOME" in PATH variable entry
Browse files Browse the repository at this point in the history
moz-phab currently searches the $PATH variable, but does not (yet) call `os.path.expanduser`, so it will be unable to find `arc` if its entry in the $PATH uses a "~".
  • Loading branch information
bytesized authored and Mark Côté committed Sep 10, 2018
1 parent 602c0f6 commit 6ca8e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcanist-windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ They should work for Git Bash and PowerShell as well.
(including MozillaBuild) exclusively, you can add this to
``~/.bash_profile``::

export PATH="$PATH:/c/php:~/phabricator/arcanist/bin"
export PATH="${PATH}:/c/php:${HOME}/phabricator/arcanist/bin"

You can also add it to your user's path so that it is also
recognized in PowerShell and other apps. The easiest way to find
Expand Down

0 comments on commit 6ca8e2e

Please sign in to comment.