repo.or.cz
/
msysgit
/
mtrensch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
WinGit: do not add uninstaller to the start menu
[msysgit/mtrensch.git]
/
bin
/
wordpad
blob
37d4d38cf23f01e06aa60700e9c70d353a30977a
1
#!/bin/sh
2
3
WORDPAD
=
"$(ls "
$PROGRAMFILES
/
Windows NT
"/*/wordpad.exe | head -n 1)"
4
5
test
$#
=
1
&&
6
case
"
$1
"
in
7
\\
*
|
/*
|?
:*) ;;
# do nothing
8
*)
set
"$(pwd -W)/
$1
"
;;
9
esac
10
11
test -x
"
$WORDPAD
"
&&
exec
"
$WORDPAD
"
"$@"
12
13
echo
"Could not launch
$WORDPAD
"
14
exit
1