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>
Heiko Voigt committed
Feb 27, 2010 at 21:48 UTC
fc17e5e5bdb5b4a36c10c2948b8b8db8a12a4b35
1 file changed
+2
-2
lib/win32.tcl
+2
-2
@@ -18,9 +18,9 @@ proc win32_create_lnk {lnk_path lnk_exec lnk_dir} {
18
eval [list exec wscript.exe \
19
/E:jscript \
20
/nologo \
21
- [file join $oguilib win32_shortcut.js] \
21
+ [file nativename [file join $oguilib win32_shortcut.js]] \
22
$lnk_path \
23
- [file join $oguilib git-gui.ico] \
23
+ [file nativename [file join $oguilib git-gui.ico]] \
24
$lnk_dir \
25
$lnk_exec] $lnk_args
26
}