12 while [ "x$ldp" != x ]; do
17 *) ldp2="$ldp2$this:" ;;
21 if [ "x$ldp2" != x ]; then
22 LD_PRELOAD="${ldp2%:}"
30 true jwrap-script-pctb: "$@"
37 lastarg="${args[$(( $nargs - 1 ))]}"
40 echo >&2 "jwrap-script: $*"
44 if [ x"$lastarg" = x"com.threerings.yohoho.client.YoApp" ]; then
47 *) fail "unexpected path format $path" ;;
49 [ x"$JWRAP_EXTDIR" != x ] || fail 'JWRAP_EXTDIR not set'
50 extdirs="$JWRAP_EXTDIR:${path%/bin/java}/lib/ext"
52 set -e$JWRAP_SCRIPT_X -- \
53 -Djavax.accessibility.assistive_technologies=com.tedpearson.ypp.market.MarketUploader \
54 -Djava.ext.dirs="$extdirs" \
60 exec -a "$arg0" /dev/jwrap/bypass "$path" "$@" 2>&4