
# @(#)checked_out	$Revision: 1.16.114.1 $	$Date: 95/10/02 18:14:59 $
# Written by Karl G. Jensen
# Modified for NFS project by Cristina Mahon

# Initialize
PATH="$Nfs/bin:/bin:/usr/bin"
export PATH
umask 022

# Put out a header if we are interactive
if [ -t ] ; then
    echo "Files in $nfs/checkout:"
fi

# Search checkout, if it exists
#if [ -d $nfs/checkout -a -s $nfs/checkout ] ; then
if [ -d $nfs/checkout ] ; then
    cd $nfs/checkout
    if [ $# -eq 0 ] ; then
	# fix for the 300, which does not have 0 length directories
	# NOTE: changed ls to /bin/ls to avoid alias problems.
	if [ -n "`/bin/ls`" ]
	then
	    set `/bin/ls`
	fi
    fi
    find . -name RMTBRANCH -type f -exec /bin/rm {} \;
    find . -type f
#    for i
#    do
#	if [ -d $i -a -s $i ] ; then
#	    find $i -type f -print
#	elif [ -f $i ] ; then
#	    echo $i
#	fi
#    done
fi
