File: _bsh

package info (click to toggle)
bsh 2.0b4-19
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,220 kB
  • sloc: java: 23,431; xml: 4,500; sh: 139; makefile: 21
file content (12 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ "$1" = "-classpath" ]
then
  CLASSPATH="$2"
  shift 2
fi

CLASSPATH="${CLASSPATH:-.}:/usr/share/java/jline.jar:/usr/share/java/bsh.jar"
export CLASSPATH

exec /usr/bin/java jline.ConsoleRunner bsh.Interpreter "$@"