3 usage: .../jpctb /path/to/dir/with/PCTB*.jar /path/to/yohoho/yohoho [...]
8 jpctb_base="${jpctb_base%/*}"
10 if [ $# -lt 2 ]; then usage >&2; exit 127; fi
12 export JWRAP_EXTDIR="$1"; shift
13 export JWRAP_SCRIPT="$jpctb_base/jwrap-script-jpctb"
15 if [ x"$LD_PRELOAD" != x ]; then LD_PRELOAD="$LD_PRELOAD:"; fi
16 export LD_PRELOAD="${LD_PRELOAD}$jpctb_base/libjwrap.so.1.0"