cd src/

if [ "$SAGE_LOCAL" = "" ]; then
   echo "SAGE_LOCAL undefined ... exiting";
   echo "Maybe run 'sage -sh'?"
   exit 1
fi

$MAKE check
if [ $? -ne 0 ]; then
   echo "Error in testing lrs"
   exit 1
fi

