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

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