blob: 6d3bc646a1c05967b701aa53b61ced260b82ab25 [file] [log] [blame]
david_williams7fe06d62007-06-28 03:09:34 +00001#!/bin/sh
2
3# script to copy update jars from their staging area to the releases area
4
5
6
7source ./parseSiteArg.shsource
8
9
10if [ "${2}" != "-doit" ] ; then
11 echo ""
12 echo " This is a dry run. Add -doit to actually copy"
13 echo ""
14 doit="--dry-run"
15else
16 doit=""
17fi
18
19echo ""
20echo " Copying new plugins and features "
21echo " from ${milestoneDir}"
22echo " to ${releaseDir}"
23echo ""
24
25rsync ${doit} --ignore-existing -rv -p ${milestoneDir}/features ${releaseDir}
26rsync ${doit} --ignore-existing -rv -p ${milestoneDir}/plugins ${releaseDir}
27
28if [ "${doit}" = "--dry-run" ] ; then
29 echo ""
30 echo " This was a dry run. Add -doit to actually copy"
31 echo ""
32fi
33
34
35