#!/bin/sh

#
# Find The Top Directory Of LiDIA
#

cd ..
GUESS=`pwd`
if test "$GUESS" ;
  then LIDIA_HOME=$GUESS
elif test "$PWD" ;
  then LIDIA_HOME=$PWD
elif test "$cwd" ;
  then LIDIA_HOME=$cwd
else
  echo "LiDIA warning::no way to guess the top distribution directory!" ;
fi
echo $LIDIA_HOME

