. locations.include
up1=`dirname $TREE`
up2=`dirname $up1`
if [ -x /usr/bin/yum-arch ] ; then 
  cd $TREE/sites/$SITE/Updates
  echo "Making yum headers for  `pwd`"
  yum-arch .
  cd $TREE/sites/$SITE/errata/$DEFAULT/RPMS
  echo "Making yum headers for  `pwd`"
  yum-arch -l .
  cd $TREE/sites/$SITE/contrib/
  echo "Making yum headers for  `pwd`"
  yum-arch -l .
else
  echo "You need to install the yum package"
fi
