summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--windows/git-gui.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/windows/git-gui.sh b/windows/git-gui.sh
index 66bbb2f8fa..b1845c5055 100644
--- a/windows/git-gui.sh
+++ b/windows/git-gui.sh
@@ -13,10 +13,11 @@ if { $argc >=2 && [lindex $argv 0] == "--working-dir" } {
incr argc -2
}
-set bindir [file dirname \
+set basedir [file dirname \
[file dirname \
[file dirname [info script]]]]
-set bindir [file join $bindir bin]
+set bindir [file join $basedir bin]
+set bindir "$bindir;[file join $basedir mingw bin]"
regsub -all ";" $bindir "\\;" bindir
set env(PATH) "$bindir;$env(PATH)"
unset bindir