#!/bin/csh -f
if( -d $1 ) then
     if( -e CHECKDIR.txt ) /bin/rm CHECKDIR.txt
     echo $1 > CHECKDIR.txt
endif
exit
