#! /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
classdir=${prefix}/share/kaffe

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/$i" &&
	echo "done"
done

exit 0
