Heiko Voigt  committed fc17e5e

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 <>

  • Participants
  • Parent commits 4c79adc
  • Branches master

Comments (0)

Files changed (1)

File lib/win32.tcl

 	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