Skip to content

Commit

Permalink
add /usr/local/git/bin to default PATHs
Browse files Browse the repository at this point in the history
  • Loading branch information
gyim committed Nov 20, 2009
1 parent 26ef985 commit 02a62e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ To run StupidGit, you will need the following packages:

StupidGit will search git binary on the following locations:
- PATH
- on Unix platforms: /opt/local/bin (for MacPorts)
- on Unix platforms: /opt/local/bin (for MacPorts), /usr/local/git/bin (OSX build)
- on Windows: C:\Program Files\Git\bin (default path for msysgit)

On unix systems it is useful to create a symlink to
Expand Down
2 changes: 1 addition & 1 deletion stupidgit_gui/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def git_binary():

# Search for git binary
if os.name == 'posix':
locations = ['{PATH}/git', '/opt/local/bin/git']
locations = ['{PATH}/git', '/opt/local/bin/git', '/usr/local/git/bin']
elif sys.platform == 'win32':
locations = (r'{PATH}\git.exe', r'C:\Program Files\Git\bin\git.exe')
elif sys.platform == 'cygwin':
Expand Down

0 comments on commit 02a62e8

Please sign in to comment.