#! /bin/sh
#  Copy the given jar file into the standard kaffe installation.  This is
#  here to help install useful JAR's and cut down on installation bugs.

prefix=/usr/pkg/java/kaffe
classdir=/usr/pkg/java/kaffe/lib

if test x"${1+set}" != x"set" ; then
	echo "usage: install-jar <jarfile> ..."
	exit 1
fi

for i in "$@"
do
	echo -n "Installing $i in $classdir ... "
	cp "$i" "$classdir/`basename $i`" &&
	echo "done"
done

exit 0
