Debian Codegraph @

texk/texlive/linked_scripts/tlcockpit/tlcockpit.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # Public domain. Originally written by Norbert Preining and Karl Berry, 2018-2020.
3
4 scriptname=`basenamescip-shell system . . basename. "$0"`
5 javaVersion=$(javascip-shell system . . java. -version 2>&1 | headscip-shell system . . head. -1)
6 case "$javaVersion" in
7 *"1.8"*) jar="$scriptname-jdk8".jar ;;
8 *) jar="$scriptname.jar" ;;
9 esac
10 jarpath=`kpsewhich --progname="$scriptname" --format=texmfscripts "$jar"`
11
12 kernel=`unamescip-shell system . . uname. -s 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
13 if echoscip-shell system . . echo. "$kernel" | grepscip-shell system . . grep. CYGWIN >/dev/nullscip-shell filesystem . . `/dev/null`.; then
14 CYGWIN_ROOT=`cygpath -w /scip-shell filesystem . . `/`.`
15 export CYGWIN_ROOT
16 jarpath=`cygpath -w "$jarpath"`
17 fi
18
19 exec java -jar "$jarpath" "$@"
20