blob: 82abc4f20e5f82f260cece0123719bf242c98e9d [file] [log] [blame]
if [ "$1" != "-doit" ] ; then
echo " This is a dry run. Add -doit to actually remove"
doit="--dry-run"
else
doit=""
fi
export from.update.site=~/downloads/webtools/milestones
export to.update.site=~/downloads/webtools/updates_mirror
./ant.sh -f createMirrorSite.xml
rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates_mirror/plugins ~/downloads/webtools/updates
rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates_mirror/features ~/downloads/webtools/updates
if [ "$doit" = "--dry-run" ] ; then
echo " This was a dry run. Add -doit to actually remove"
fi