diff options
author | Heiko Voigt <hvoigt@hvoigt.net> | 2010-02-27 21:48:48 +0100 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2010-07-30 10:05:26 +0100 |
commit | fc17e5e5bdb5b4a36c10c2948b8b8db8a12a4b35 (patch) | |
tree | 89fd7475aef59beec8ad78366d4557c1137ce46e /lib | |
parent | git-gui: fix PATH environment for mingw development environment (diff) | |
download | tgif-fc17e5e5bdb5b4a36c10c2948b8b8db8a12a4b35.tar.xz |
git-gui: fix shortcut creation on cygwin
When the user tried to create a desktop icon with git gui on cygwin
wscript was complaining about an unknown option and displaying the
non-native path as such.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/win32.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/win32.tcl b/lib/win32.tcl index d7f93d045d..db91ab84a5 100644 --- a/lib/win32.tcl +++ b/lib/win32.tcl @@ -18,9 +18,9 @@ proc win32_create_lnk {lnk_path lnk_exec lnk_dir} { eval [list exec wscript.exe \ /E:jscript \ /nologo \ - [file join $oguilib win32_shortcut.js] \ + [file nativename [file join $oguilib win32_shortcut.js]] \ $lnk_path \ - [file join $oguilib git-gui.ico] \ + [file nativename [file join $oguilib git-gui.ico]] \ $lnk_dir \ $lnk_exec] $lnk_args } |