#!/bin/sh
# THIS IS A TEMPORARY TESTING-LIKE KLUGDE.

if [ ! -r "/u1/olc/OLC.current" ]; then
    echo "Can't determine the current build tree (exiting)."
    exit 1
fi

. /u1/olc/OLC.current

if [ ! -r "$BLD/Makefile" ]; then
    echo "Can't find the current build tree (exiting)."
    exit 1
fi

PATH=/usr/athena/bin:${PATH}:/usr/ccs/bin:/usr/ucb; export PATH

case "`whoami`" in
  root) ;;
     *) echo su root -c "$0" ;
	     su root -c "$0" ;
	exit $? ;;
esac

cd $BLD
make install DESTDIR=
