blob: 2665548f88dd06a651312ce48b88c3755d023a94 [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/maintenance
releaseDir=${HOME}/downloads/webtools/updates
mainSiteFileName=siteGalileo.xml
mainIndexFileName=indexGalileo.html
fileListFile=updateGalileoMirrorAll.xml
elif [ "${1}" = "Helios" ]
then
testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates32
milestoneDirectory=${HOME}/downloads/webtools/milestones
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