#!/bin/sh
# @(#)DFLTS_sh.pre version 3.5 created 5/8/95
# @(#)Copyright (c), 1987, 1995 StatSci, Inc.  All rights reserved.
# Set up the environment variables the CONFIGURE and INSTALL programs use

# Check for auto-mounting and/or symbolic links on the SHOME directory
DIR=`pwd`
if [ "X$SHOME" != "X" ]
then
    cd $SHOME
    if [ "$DIR" = "`pwd`" ]
    then
        DIR=$SHOME
    else
        cd $DIR
    fi
fi
SHOME=$DIR ; export SHOME
OPTIONS_FILE=$SHOME/splus/lib/install/DEFAULTS.sh ; export OPTIONS_FILE
INSTALL_FILE=$SHOME/INSTALL ; export INSTALL_FILE
INSTALL_DIR=$SHOME/splus/lib/install ; export INSTALL_DIR
PATH=/usr/bin/X11:$INSTALL_DIR:$PATH ; export PATH
SERIAL_FILE=$SHOME/SERIAL ; export SERIAL_FILE
LESS_FILES=$SHOME/cmd/less ; export LESS_FILES
LESS_MAN_FILES=$SHOME/doc/manl/less.1 ; export LESS_MAN_FILES
SPLUS_MAN_FILES=$SHOME/doc/manl/Splus.1 ; export SPLUS_MAN_FILES
FONT_DEST=/usr/lib/X11/fonts/misc ; export FONT_DEST
FONT_SOURCE=\$SHOME/splus/lib/fonts ; export FONT_SOURCE
SUN_SOURCE=$SHOME/splus/lib/suntools ; export SUN_SOURCE
SUN_DEST=/usr/lib/defaults ; export SUN_DEST
SUN_FILES="Splus.d" ; export SUN_FILES
SUN=$SHOME/splus/lib/suntools ; export SUN
platform=`$SHOME/cmd/PLATFORM`
if [ $platform != "OSF1_DECALPHA" ]; then
    LIC_MAN1_FILES=`/bin/ls $SHOME/doc/manl/elm*.1` ; export LIC_MAN1_FILES
    LIC_MAN5_FILES=`/bin/ls $SHOME/doc/manl/elm*.5` ; export LIC_MAN5_FILES
fi
