blob: 082e66ab2373ed29ee4829d9b787b0daff2e4d67 [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 ""
10exit
11
12
13
14
15elif [ "${1}" = "Europa" ]
16then
17 fromDir=${HOME}/downloads/webtools/declaredUpdates
18 toDir=${HOME}/downloads/webtools/milestones
david_williams09e75e12007-06-28 02:56:11 +000019 milestoneDir=${HOME}/downloads/webtools/milestones
20 releaseDir=${HOME}/downloads/webtools/updates
david_williams2b925b12007-05-27 06:38:35 +000021 updateSite=${HOME}/downloads/webtools/declaredUpdates
22 mainSiteFileName=siteEuropa.xml
23 mainIndexFileName=indexEuropa.html
24 fileListFile=updateEuropaMirrorAll.xml
david_williamscdeaa702007-05-26 22:12:58 +000025
david_williamsfcaa81c2007-10-11 19:21:37 +000026elif [ "${1}" = "Ganymede" ]
27then
28 fromDir=${HOME}/downloads/webtools/declaredUpdates
29 toDir=${HOME}/downloads/webtools/milestones
30 milestoneDir=${HOME}/downloads/webtools/milestones
31 releaseDir=${HOME}/downloads/webtools/updates
32 updateSite=${HOME}/downloads/webtools/declaredUpdates
33 mainSiteFileName=siteEuropa.xml
34 mainIndexFileName=indexEuropa.html
35 fileListFile=updateEuropaMirrorAll.xml
36
david_williamscdeaa702007-05-26 22:12:58 +000037elif [ "${1}" = "Callisto" ]
38then
39 fromDir=${HOME}/downloads/webtools/testUpdates
40 toDir=${HOME}/downloads/webtools/updates
david_williams2b925b12007-05-27 06:38:35 +000041 updateSite=${HOME}/downloads/webtools/testUpdates
42 mainSiteFileName=siteCallisto.xml
43 mainIndexFileName=indexCallisto.html
44 fileListFile=updateCallistoMirrorAll.xml
david_williamscdeaa702007-05-26 22:12:58 +000045
46else
47 echo ""
48 echo " Unrecognized argument: ${1}"
49 echo " Usage: ${0} <stream>"
david_williamsfcaa81c2007-10-11 19:21:37 +000050 echo " where <stream> is one of Ganymede, Europa, Callisto"
david_williamscdeaa702007-05-26 22:12:58 +000051 echo ""
52 exit
53fi