blob: b75509d92b9cb885b62c2c8717c09e9f87eb68a4 [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
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
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
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
mainIndexFileName=indexHelios.html
fileListFile=updateGalileoMirrorAll.xml
elif [ "${1}" = "Patches" ]
then
testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates
milestoneDirectory=${HOME}/downloads/webtools/milestones
releaseDir=${HOME}/downloads/webtools/updates
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