author | Steffen Prohaska <prohaska@zib.de> | |
Sun, 27 Jul 2008 16:49:43 +0000 (18:49 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 30 Jul 2008 05:43:37 +0000 (22:43 -0700) | ||
commit | 5fc6edab76ea16c5fad7138389c2fcc2076534e7 | |
tree | 320e89a01513e3630eb681d9524ff835d56f6690 | tree | snapshot |
parent | f57ddcc5ecf16d1fff4b6e222352c3220fe8120f | commit | diff |
git-gui (Windows): Change wrapper to execdir 'libexec/git-core'
git-gui needs bindir in PATH to be able to run 'git'. bindir
however is not necessarily in PATH if started directly through a
Windows shortcut. Therefore, we used to add the directory
git-gui is located in. But with the new 'libexec/git-core'
layout this directory is no longer identical to bindir.
This commit modifies the wrapper script to discover the bindir
and add it to PATH.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui needs bindir in PATH to be able to run 'git'. bindir
however is not necessarily in PATH if started directly through a
Windows shortcut. Therefore, we used to add the directory
git-gui is located in. But with the new 'libexec/git-core'
layout this directory is no longer identical to bindir.
This commit modifies the wrapper script to discover the bindir
and add it to PATH.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
windows/git-gui.sh | diff | blob | history |