blob: 2199e9f4459b95b7ecb899d7aedd6cbd863bc645 [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
find ./
./ant.sh -f createMirrorSite.xml
rsync $doit --delete --ignore-existing -rv ${to.update.site}/plugins ${from.update.site}
rsync $doit --delete --ignore-existing -rv ${to.update.site}/features ${from.update.site}
if [ "$doit" = "--dry-run" ] ; then
echo " This was a dry run. Add -doit to actually remove"
fi