blob: f31db424603ea7eca1b927173c7af6ab215feb02 [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 -p ${fromDir}/features ${toDir}
rsync ${doit} --ignore-existing -rv -p ${fromDir}/plugins ${toDir}
if [ "${doit}" = "--dry-run" ] ; then
echo ""
echo " This was a dry run. Add -doit to actually copy"
echo ""
fi