Debian Codegraph @

texk/texlive/linked_scripts/arara/arara.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # Public domain. Originally written by Norbert Preining and Karl Berry, 2018.
3 # Note from Paulo: this script provides better Cygwin support than our original
4 # approach, so the team decided to use it as a proper wrapper for arara as well.
5
6 scriptname=`basenamescip-shell system . . basename. "$0" .sh`
7 jar="$scriptname.jar"
8 jarpath=`kpsewhich --progname="$scriptname" --format=texmfscripts "$jar"`
9
10 kernel=`unamescip-shell system . . uname. -s 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
11 if echoscip-shell system . . echo. "$kernel" | grepscip-shell system . . grep. CYGWIN >/dev/nullscip-shell filesystem . . `/dev/null`.; then
12 CYGWIN_ROOT=`cygpath -w /scip-shell filesystem . . `/`.`
13 export CYGWIN_ROOT
14 jarpath=`cygpath -w "$jarpath"`
15 fi
16
17 exec java -jar "$jarpath" "$@"