| #!/bin/sh |
| |
| # script to copy update jars from their staging area to the releases area |
| |
| if [ -z "${1}" ] |
| then |
| |
| echo "" |
| echo " Need an argument" |
| echo " Usage: ${0} <stream>" |
| echo " where <stream> is one of Europa, Callisto" |
| echo "" |
| exit |
| |
| elif [ "${1}" = "Europa" ] |
| then |
| fromDir=${HOME}/downloads/webtools/declaredUpdates |
| toDir=${HOME}/downloads/webtools/milestones |
| |
| elif [ "${1}" = "Callisto" ] |
| then |
| fromDir=${HOME}/downloads/webtools/testUpdates |
| toDir=${HOME}/downloads/webtools/updates |
| |
| else |
| echo "" |
| echo " Unrecognized argument: ${1}" |
| echo " Usage: ${0} <stream>" |
| echo " where <stream> is one of Europa, Callisto" |
| echo "" |
| exit |
| fi |
| |
| echo "" |
| echo " Copying new plugins and features " |
| echo " from ${fromDir}" |
| echo " to ${toDir}" |
| echo "" |
| |
| #cp -f -p -r -v --update ${fromDir}/features --target-directory=${toDir}/ |
| #cp -f -p -r -v --update ${fromDir}/plugins --target-directory=${toDir}/ |
| |