#Change these based on your site
#where is your release
VERSION=52
ROLLING=slf5rolling
VERSIONDIR=fermi/$ROLLING
VERSIONDIR=scientific/$VERSION
VERSIONDIR=$ROLLING
RELEASEDIR=/export/linux/$VERSIONDIR/
if [ ! -d $RELEASEDIR ] ; then
  RELEASEDIR=/mnt/src/$ROLLING/
fi
#Your site info
SITE=Fermi
SITERPMDIR=SITERPMS
PRODUCT="Scientific Linux (Fermi)"
DEFAULT=SL
RPMDBVERSION=$VERSION
#Should not need to change which arch this is
ARCH=x86_64
#These are for the making of the cd iso images
TOTBINCD=7
TOTSRCCD=1
TOTCD=7
RESERVE=160000000
#where do you want the iso images put
CDISOAREA=$RELEASEDIR/$ARCH/sites/$SITE/iso/
#Should not need to change where default is
RELEASE=SLF
#The following are either derived or hardcoded, so leave alone
FILEORDER=pkgorder
TREE=$RELEASEDIR/$ARCH
DATE=`date "+%m%d%y"`
ANACONDADIR=/usr/lib/anaconda-runtime
PYTHONPATH=/usr/lib/anaconda
export TREE
export SITE
export DEFAULT
export PYTHONPATH
export ARCH
export RELEASEDIR
export SITERPMDIR 
export TOTBINCD
export TOTCD
export TOTSRCCD
export RESERVE
if [ -z $SITE ] ; then
	SITEDIR=""
else
	SITEDIR=sites/$SITE
fi
echo "TREE is $TREE"
echo "SITE is $SITE"
echo "SITEDIR is $SITEDIR"
echo "SITERPMDIR is $SITERPMDIR"
echo "DEFAULT is $DEFAULT"
#These are some checks to make sure things are in the right places
if [ ! -d $TREE/$DEFAULT ] ; then
   echo "The <default> directory does not exist : $TREE/$DEFAULT" 
   exit
fi
if [ ! -d $TREE/$SITEDIR ] ; then
   echo "The <site> directory does not exist : $TREE/$SITEDIR" 
   exit
fi
if [ ! -d $ANACONDADIR ] ; then
   echo "The anaconda-runtime rpm has not been installed, please install" 
   exit
fi
if [ ! -d $PYTHONPATH ] ; then
   echo "The anaconda rpm has not been installed, please install" 
   exit
fi
#
