blob: 82abc4f20e5f82f260cece0123719bf242c98e9d [file] [log] [blame]
david_williamsddcb6622007-06-28 03:26:16 +00001
2if [ "$1" != "-doit" ] ; then
3 echo " This is a dry run. Add -doit to actually remove"
4 doit="--dry-run"
5else
6 doit=""
7fi
8
david_williams253436a2008-06-25 05:54:42 +00009export from.update.site=~/downloads/webtools/milestones
10export to.update.site=~/downloads/webtools/updates_mirror
11
12./ant.sh -f createMirrorSite.xml
13
david_williamscca4f0e2007-06-28 03:30:24 +000014rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates_mirror/plugins ~/downloads/webtools/updates
david_williamsddcb6622007-06-28 03:26:16 +000015
david_williamscca4f0e2007-06-28 03:30:24 +000016rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates_mirror/features ~/downloads/webtools/updates
david_williamsddcb6622007-06-28 03:26:16 +000017
18if [ "$doit" = "--dry-run" ] ; then
19 echo " This was a dry run. Add -doit to actually remove"
20fi