blob: 0e8b775c2b3e5923432029e169386473cc6abb50 [file] [log] [blame]
#!/bin/sh
# script to copy update jars from their staging area to the releases area
source ./parseSiteArg.shsource
if [ "${2}" != "-doit" ] ; then
echo ""
echo " This is a dry run. Add -doit to actually copy"
echo ""
doit="--dry-run"
else
doit=""
fi
echo ""
echo " Copying new plugins and features "
echo " from ${fromDir}"
echo " to ${toDir}"
echo ""
rsync ${doit} --ignore-existing -rv ${fromDir}/features ${toDir}
rsync ${doit} --ignore-existing -rv ${fromDir}/plugins ${toDir}
if [ "${doit}" = "--dry-run" ] ; then
echo ""
echo " This was a dry run. Add -doit to actually copy"
echo ""
fi