File: Tcode.sh

package info (click to toggle)
tcode 0.1.20080918-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 440 kB
  • sloc: perl: 831; xml: 84; sh: 37; csh: 16; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

if [ ! $TCODEHOME ]; then
    echo "You must set TCODEHOME before calling this script."
    exit
fi

alias texjava='perl $TCODEHOME/texjava.pl'

if [ $CLASSPATH ]; then
   export CLASSPATH=$TCODEHOME/tcode.jar:$CLASSPATH
else
   export CLASSPATH=$TCODEHOME/tcode.jar
fi

if [ $TEXINPUTS ]; then
   export TEXINPUTS=.:${TCODEHOME}:$TEXINPUTS
else
   export TEXINPUTS=.:${TCODEHOME}:
fi

perl $TCODEHOME/setl2hinit.pl $TCODEHOME