#!/bin/sh
# @(#)MENU_DEST version 3.10 created 10/31/92
# @(#)Copyright (c), 1987, 1992 StatSci, Inc.  All rights reserved.
# Helps you set new values for the destination file directories

CONTINUE=T

while [ "$CONTINUE" = "T" ]
do
    # Source file with S-Plus Default Environment variables
    . $SHOME/splus/lib/install/USER.env

    cat << EOF

Default Destinations for Installation Files:

1:    Splus shell script        "$SPLUS_DEST"
2:    About This Menu
0:    Return to Previous Menu 

EOF
echo-n "Enter the number of your choice: "
    read WHICH
    case $WHICH in
    0)    CONTINUE=F;;
    1)    SET_VARS SPLUS_DEST ;;
    2)    INTROS DEST ;;
    *)    echo "You must enter a number between 0 and 2" ;;
    esac
done
exit 0
