blob: 88576aa19320bf77bf00e1b64f57ab7b1d6d72e8 [file] [log] [blame]
david_williamscdeaa702007-05-26 22:12:58 +00001
2if [ -z "${1}" ]
3then
4
5echo ""
6echo " Need an argument"
7echo " Usage: ${0} <stream>"
david_williamsfcaa81c2007-10-11 19:21:37 +00008echo " where <stream> is one of Ganymede, Europa, Callisto"
david_williamscdeaa702007-05-26 22:12:58 +00009echo ""
david_williams56f7c672008-03-14 20:24:31 +000010exit 1
david_williamscdeaa702007-05-26 22:12:58 +000011
12
13
14
15elif [ "${1}" = "Europa" ]
16then
david_williams72901652008-05-28 04:30:46 +000017 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates
18 milestoneDirectory=${HOME}/downloads/webtools/milestones
david_williams09e75e12007-06-28 02:56:11 +000019 releaseDir=${HOME}/downloads/webtools/updates
david_williams2b925b12007-05-27 06:38:35 +000020 mainSiteFileName=siteEuropa.xml
21 mainIndexFileName=indexEuropa.html
22 fileListFile=updateEuropaMirrorAll.xml
david_williamscdeaa702007-05-26 22:12:58 +000023
david_williamsfcaa81c2007-10-11 19:21:37 +000024elif [ "${1}" = "Ganymede" ]
25then
david_williams5c6c94a2008-11-14 08:45:37 +000026 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates30x
david_williams72901652008-05-28 04:30:46 +000027 milestoneDirectory=${HOME}/downloads/webtools/milestones
david_williamsfcaa81c2007-10-11 19:21:37 +000028 releaseDir=${HOME}/downloads/webtools/updates
david_williams40ac8ad2007-11-14 17:35:32 +000029 mainSiteFileName=siteGanymede.xml
30 mainIndexFileName=indexGanymede.html
david_williams7da66cd2007-10-11 19:36:43 +000031 fileListFile=updateGanymedeMirrorAll.xml
david_williamsfcaa81c2007-10-11 19:21:37 +000032
david_williams41ae3422008-10-21 01:52:35 +000033elif [ "${1}" = "Galileo" ]
34then
david_williams5c6c94a2008-11-14 08:45:37 +000035 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates31
david_williams46fee5c2009-06-09 01:14:34 +000036 milestoneDirectory=${HOME}/downloads/webtools/milestonesRC4
david_williams41ae3422008-10-21 01:52:35 +000037 releaseDir=${HOME}/downloads/webtools/updates
38 mainSiteFileName=siteGalileo.xml
39 mainIndexFileName=indexGalileo.html
40 fileListFile=updateGalileoMirrorAll.xml
41
david_williams0c2b9be2008-08-26 13:40:40 +000042elif [ "${1}" = "Patches" ]
43then
44 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates
45 milestoneDirectory=${HOME}/downloads/webtools/milestones
46 releaseDir=${HOME}/downloads/webtools/updates
47 mainSiteFileName=sitePatches.xml
48 mainIndexFileName=indexGanymede.html
david_williams0c843412008-08-26 13:51:19 +000049 fileListFile=updateGanymedeMirrorPatches.xml
david_williams0c2b9be2008-08-26 13:40:40 +000050
david_williamscdeaa702007-05-26 22:12:58 +000051else
52 echo ""
53 echo " Unrecognized argument: ${1}"
54 echo " Usage: ${0} <stream>"
david_williams3cc7f2e2008-10-21 02:00:12 +000055 echo " where <stream> is one of Galileo, Ganymede, Europa"
david_williamscdeaa702007-05-26 22:12:58 +000056 echo ""
david_williams56f7c672008-03-14 20:24:31 +000057 exit 1
david_williamscdeaa702007-05-26 22:12:58 +000058fi
david_williams56f7c672008-03-14 20:24:31 +000059
david_williams72901652008-05-28 04:30:46 +000060mkdir -p $testUpdateSite
61mkdir -p $milestoneDirectory
david_williams56f7c672008-03-14 20:24:31 +000062mkdir -p $releaseDir