blob: 588a33306a74cff09696c8e4cdf59a2978866012 [file] [log] [blame]
david_williams8a62f0d2006-06-28 05:07:27 +00001#!/bin/sh
2
3# script to copy update jars from their staging area to the releases area
4
david_williamsaa7d3b82007-05-26 20:43:31 +00005if [ -z "${1}" ]
6then
david_williams8a62f0d2006-06-28 05:07:27 +00007
david_williamsaa7d3b82007-05-26 20:43:31 +00008echo ""
9echo " Need an argument"
10echo " Usage: ${0} <stream>"
11echo " where <stream> is one of Europa, Callisto"
12echo ""
13exit
14
15elif [ "${1}" = "Europa" ]
16then
17 fromDir=${HOME}/downloads/webtools/declaredUpdates
18 toDir=${HOME}/downloads/webtools/milestones
19
20elif [ "${1}" = "Callisto" ]
21then
22 fromDir=${HOME}/downloads/webtools/testUpdates
23 toDir=${HOME}/downloads/webtools/updates
24
25else
26 echo ""
27 echo " Unrecognized argument: ${1}"
28 echo " Usage: ${0} <stream>"
29 echo " where <stream> is one of Europa, Callisto"
30 echo ""
31 exit
32fi
33
34echo ""
35echo " Copying new plugins and features "
36echo " from ${fromDir}"
37echo " to ${toDir}"
38echo ""
39
40#cp -f -p -r -v --update ${fromDir}/features --target-directory=${toDir}/
41#cp -f -p -r -v --update ${fromDir}/plugins --target-directory=${toDir}/
david_williams8a62f0d2006-06-28 05:07:27 +000042