git-gui (Windows): Change wrapper to execdir 'libexec/git-core'
commit5fc6edab76ea16c5fad7138389c2fcc2076534e7
authorSteffen Prohaska <prohaska@zib.de>
Sun, 27 Jul 2008 16:49:43 +0000 (27 18:49 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 30 Jul 2008 05:43:37 +0000 (29 22:43 -0700)
tree320e89a01513e3630eb681d9524ff835d56f6690
parentf57ddcc5ecf16d1fff4b6e222352c3220fe8120f
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>
windows/git-gui.sh