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
wordpad: work around Vista
[msysgit/mtrensch.git]
/
bin
/
wordpad
blob
1df3fb099fc79169219ade3b8e23dae96f2fe6a1
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)/
$1
"
;;
9
esac
10
11
test -x
"
$WORDPAD
"
&&
exec
"
$WORDPAD
"
"$@"
12
13
echo
"Could not launch
$WORDPAD
"
14
exit
1