From: Heiko Voigt Date: Sat, 27 Feb 2010 20:48:48 +0000 (+0100) Subject: git-gui: fix shortcut creation on cygwin X-Git-Tag: v1.7.2.2~29^2^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc17e5e5bdb5b4a36c10c2948b8b8db8a12a4b35;p=git.git 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 Signed-off-by: Johannes Schindelin Signed-off-by: Pat Thoyts --- diff --git a/lib/win32.tcl b/lib/win32.tcl index d7f93d045..db91ab84a 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 }