david_williams | ddcb662 | 2007-06-28 03:26:16 +0000 | [diff] [blame] | 1 |
|
| 2 | if [ "$1" != "-doit" ] ; then
|
| 3 | echo " This is a dry run. Add -doit to actually remove"
|
| 4 | doit="--dry-run"
|
| 5 | else
|
| 6 | doit=""
|
| 7 | fi
|
| 8 |
|
david_williams | 253436a | 2008-06-25 05:54:42 +0000 | [diff] [blame^] | 9 | export from.update.site=~/downloads/webtools/milestones
|
| 10 | export to.update.site=~/downloads/webtools/updates_mirror
|
| 11 |
|
| 12 | ./ant.sh -f createMirrorSite.xml
|
| 13 |
|
david_williams | cca4f0e | 2007-06-28 03:30:24 +0000 | [diff] [blame] | 14 | rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates_mirror/plugins ~/downloads/webtools/updates
|
david_williams | ddcb662 | 2007-06-28 03:26:16 +0000 | [diff] [blame] | 15 |
|
david_williams | cca4f0e | 2007-06-28 03:30:24 +0000 | [diff] [blame] | 16 | rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates_mirror/features ~/downloads/webtools/updates
|
david_williams | ddcb662 | 2007-06-28 03:26:16 +0000 | [diff] [blame] | 17 |
|
| 18 | if [ "$doit" = "--dry-run" ] ; then
|
| 19 | echo " This was a dry run. Add -doit to actually remove"
|
| 20 | fi
|