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