blob: b75509d92b9cb885b62c2c8717c09e9f87eb68a4 [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 mainIndexFileName=indexEuropa.html
21 fileListFile=updateEuropaMirrorAll.xml
david_williamscdeaa702007-05-26 22:12:58 +000022
david_williamsfcaa81c2007-10-11 19:21:37 +000023elif [ "${1}" = "Ganymede" ]
24then
david_williams5c6c94a2008-11-14 08:45:37 +000025 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates30x
david_williams72901652008-05-28 04:30:46 +000026 milestoneDirectory=${HOME}/downloads/webtools/milestones
david_williamsfcaa81c2007-10-11 19:21:37 +000027 releaseDir=${HOME}/downloads/webtools/updates
david_williams40ac8ad2007-11-14 17:35:32 +000028 mainIndexFileName=indexGanymede.html
david_williams7da66cd2007-10-11 19:36:43 +000029 fileListFile=updateGanymedeMirrorAll.xml
david_williamsfcaa81c2007-10-11 19:21:37 +000030
david_williams41ae3422008-10-21 01:52:35 +000031elif [ "${1}" = "Galileo" ]
32then
david_williams5c6c94a2008-11-14 08:45:37 +000033 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates31
david_williamsd9a5bd92009-08-12 03:09:36 +000034 milestoneDirectory=${HOME}/downloads/webtools/maintenance
35 releaseDir=${HOME}/downloads/webtools/updates
david_williamsd9a5bd92009-08-12 03:09:36 +000036 mainIndexFileName=indexGalileo.html
37 fileListFile=updateGalileoMirrorAll.xml
38
39elif [ "${1}" = "Helios" ]
40then
41 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates32
42 milestoneDirectory=${HOME}/downloads/webtools/milestones
david_williams41ae3422008-10-21 01:52:35 +000043 releaseDir=${HOME}/downloads/webtools/updates
david_williamsf8114932009-08-12 06:58:07 +000044 mainIndexFileName=indexHelios.html
david_williams41ae3422008-10-21 01:52:35 +000045 fileListFile=updateGalileoMirrorAll.xml
46
david_williams0c2b9be2008-08-26 13:40:40 +000047elif [ "${1}" = "Patches" ]
48then
49 testUpdateSite=${HOME}/downloads/webtools/tempTestUpdates
50 milestoneDirectory=${HOME}/downloads/webtools/milestones
51 releaseDir=${HOME}/downloads/webtools/updates
david_williams0c2b9be2008-08-26 13:40:40 +000052 mainIndexFileName=indexGanymede.html
david_williams0c843412008-08-26 13:51:19 +000053 fileListFile=updateGanymedeMirrorPatches.xml
david_williams0c2b9be2008-08-26 13:40:40 +000054
david_williamscdeaa702007-05-26 22:12:58 +000055else
56 echo ""
57 echo " Unrecognized argument: ${1}"
58 echo " Usage: ${0} <stream>"
david_williams3cc7f2e2008-10-21 02:00:12 +000059 echo " where <stream> is one of Galileo, Ganymede, Europa"
david_williamscdeaa702007-05-26 22:12:58 +000060 echo ""
david_williams56f7c672008-03-14 20:24:31 +000061 exit 1
david_williamscdeaa702007-05-26 22:12:58 +000062fi
david_williams56f7c672008-03-14 20:24:31 +000063
david_williams72901652008-05-28 04:30:46 +000064mkdir -p $testUpdateSite
65mkdir -p $milestoneDirectory
david_williams56f7c672008-03-14 20:24:31 +000066mkdir -p $releaseDir