#
# usage:        cleanup.sh
#
# abstract:     This Bourne Shell script removes any temporary files
#		when a normal exit is done.
#
# note(s):      1. This routine must be called using a . (period)
#
# Copyright (c) 1992-1997 by The MathWorks, Inc.
# $Revision: 1.8 $  $Date: 1997/07/10 03:13:04 $
#----------------------------------------------------------------------------
#
    if [ "$REWIND" = "1" ]; then
#--------------------------------------------------------------------------
    echo ''
#--------------------------------------------------------------------------
        mesg='    Rewinding tape . . . (please wait) '
        . $dir/$echon_sh
    fi
    . $dir/$trewind_sh
    rm -rf $temp_file $temp_file2a $temp_file2b $temp_file2 $temp_file3 $temp_file4 $temp_file5 $MATLAB/update/$$a $temp_boot $tape_boot $MATLAB/update/tape/*screen* $MATLAB/update/ftp $LSCREEN > /dev/null 2>&1
