repo.or.cz
/
msysgit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vim: don't restore the cursor position in git-add's edit mode
[msysgit.git]
/
bin
/
wordpad
blob
9aba8f96f82af7e5bf3fcd9236f8851869370ef2
1
#!/bin/sh
2
3
WORDPAD
=
$
(
echo
"
$PROGRAMFILES
/Windows NT"
/*/
wordpad.exe
)
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