blob: d1f8743e7befb7b2f33c76cc09e2f718943a70ff [file] [log] [blame]
if [ -z "${1}" ]
then
echo ""
echo " Need an argument"
echo " Usage: ${0} <stream>"
echo " where <stream> is one of Ganymede, Europa, Callisto"
echo ""
exit 1
elif [ "${1}" = "Europa" ]
then
testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates
milestoneDirectory=${HOME}/downloads/webtools/milestones
releaseDir=${HOME}/downloads/webtools/updates
mainSiteFileName=siteEuropa.xml
mainIndexFileName=indexEuropa.html
fileListFile=updateEuropaMirrorAll.xml
elif [ "${1}" = "Ganymede" ]
then
testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates30x
milestoneDirectory=${HOME}/downloads/webtools/milestones
releaseDir=${HOME}/downloads/webtools/updates
mainSiteFileName=siteGanymede.xml
mainIndexFileName=indexGanymede.html
fileListFile=updateGanymedeMirrorAll.xml
elif [ "${1}" = "Galileo" ]
then
testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates31
milestoneDirectory=${HOME}/downloads/webtools/milestonesRC2
releaseDir=${HOME}/downloads/webtools/updates
mainSiteFileName=siteGalileo.xml
mainIndexFileName=indexGalileo.html
fileListFile=updateGalileoMirrorAll.xml
elif [ "${1}" = "Patches" ]
then
testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates
milestoneDirectory=${HOME}/downloads/webtools/milestones
releaseDir=${HOME}/downloads/webtools/updates
mainSiteFileName=sitePatches.xml
mainIndexFileName=indexGanymede.html
fileListFile=updateGanymedeMirrorPatches.xml
else
echo ""
echo " Unrecognized argument: ${1}"
echo " Usage: ${0} <stream>"
echo " where <stream> is one of Galileo, Ganymede, Europa"
echo ""
exit 1
fi
mkdir -p $testUpdateSite
mkdir -p $milestoneDirectory
mkdir -p $releaseDir