summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh
blob: a72924f360ae278e76749c043cf1d6bd3c446aad (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh


kernel=`uname -s`
if test "${kernel#*CYGWIN}" != "$kernel"
then
 jarpath=`cygpath -w $(kpsewhich --progname=texosquery --format=texmfscripts texosquery-jre5.jar)`
else
 jarpath=`kpsewhich --progname=texosquery --format=texmfscripts texosquery-jre5.jar`
fi
java -jar "$jarpath" "$@"