Debian Codegraph @

texk/texlive/linked_scripts/bib2gls/datatool2bib.sh

raw symbols SCIP
1 #!/bin/sh
2 # Adapted from tlcockpit.sh to ensure the script works with cygwin
3
4 scriptname=`basename "$0" .sh`
5 jar="$scriptname.jar"
6 jarpath=`kpsewhich --progname="$scriptname" --format=texmfscripts "$jar"`
7
8 kernel=`uname -s 2>/dev/null`
9 if echo "$kernel" | grep CYGWIN >/dev/null; then
10 CYGWIN_ROOT=`cygpath -w /`
11 export CYGWIN_ROOT
12 jarpath=`cygpath -w "$jarpath"`
13 fi
14
15 exec java -jar "$jarpath" "$@"