Skip to content

Commit

Permalink
* add /usr/local/opt/go/bin and /usr/local/bin to the default PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
DisposaBoy committed Dec 16, 2012
1 parent 4d07a04 commit 7231e7f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gscommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,12 @@ def env(m={}):
if os_is_windows():
l = ['C:\\Go\\bin']
else:
l = ['/usr/local/go/bin', '/usr/bin']
l = [
'/usr/local/go/bin',
'/usr/local/opt/go/bin',
'/usr/local/bin',
'/usr/bin',
]

for s in l:
if s not in add_path:
Expand Down

0 comments on commit 7231e7f

Please sign in to comment.