Skip to content

Commit

Permalink
git-gui: fix shortcut creation on cygwin
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Voigt authored and Pat Thoyts committed Jul 30, 2010
1 parent 4c79adc commit fc17e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/win32.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit fc17e5e

Please sign in to comment.