# This utility used to do a global get of the source tree
# Grossly hard coded
TOPDIR=/src/build
REV=
if [ $# = 1 ]
then
	REV=-r$1
fi

cd $TOPDIR
find SCCS -name s.\* -print | while read FILE
do
	CLEAR=`echo $FILE | sed -e 's/SCCS\///'`
	DIRECTORY=`dirname $CLEAR`
	( cd $TOPDIR/$DIRECTORY; get $REV $TOPDIR/$FILE )
done
