$OpenBSD: patch-bin_bootscript,v 1.2 2006/05/15 18:11:22 ian Exp $ --- bin/bootscript.orig Thu May 11 11:29:23 2006 +++ bin/bootscript Thu May 11 11:35:16 2006 @@ -0,0 +1,27 @@ +#!/bin/sh + +# this makes sure the sanity check passes +case $1 in + -version|-fullversion) + echo 'java version "1.4.2"' + exit 0 + ;; +esac; + +progname=`basename $0` + +case $progname in + jar|java|javah) + exec $ALT_BOOTDIR2/bin/$progname "$@" + ;; + javac) + # for select cases only + # use jikes + case "$*" in + *hotspot*|*\.\.\/tools\/*|*java\.text\/tools\/*) + exec jikes -bootclasspath $ABS_OUTPUTDIR/classes "$@" + ;; + esac; +esac; + +exit 0