[jbosstools-commits] JBoss Tools SVN: r43709 - trunk/build/util/cleanup.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Sep 14 15:15:46 EDT 2012
Author: nickboldt
Date: 2012-09-14 15:15:46 -0400 (Fri, 14 Sep 2012)
New Revision: 43709
Modified:
trunk/build/util/cleanup/jbosstools-cleanup.sh
Log:
publish new composite*.xml files to correct folder on download.jb.org
Modified: trunk/build/util/cleanup/jbosstools-cleanup.sh
===================================================================
--- trunk/build/util/cleanup/jbosstools-cleanup.sh 2012-09-14 19:13:04 UTC (rev 43708)
+++ trunk/build/util/cleanup/jbosstools-cleanup.sh 2012-09-14 19:15:46 UTC (rev 43709)
@@ -76,7 +76,7 @@
if [[ $USER == "hudson" ]]; then
# can't delete the dir, but can at least purge its contents
rm -fr /tmp/$dd; mkdir /tmp/$dd; pushd /tmp/$dd >/dev/null
- rsync -r --delete . tools at filemgmt.jboss.org:$sd/$dd 2>&1 | tee -a $log
+ rsync --rsh=ssh --protocol=28 -r --delete . tools at filemgmt.jboss.org:$sd/$dd 2>&1 | tee -a $log
echo -e "rmdir $dd" | sftp tools at filemgmt.jboss.org:$sd/
popd >/dev/null; rm -fr /tmp/$dd
fi
@@ -92,13 +92,13 @@
mkdir -p /tmp/cleanup-fresh-metadata/
regenCompositeMetadata $getSubDirsReturn $getSubDirsCountReturn org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository /tmp/cleanup-fresh-metadata/compositeContent.xml
regenCompositeMetadata $getSubDirsReturn $getSubDirsCountReturn org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository /tmp/cleanup-fresh-metadata/compositeArtifacts.xml
- rsync -q /tmp/cleanup-fresh-metadata/composite*.xml tools at filemgmt.jboss.org:$sd/
+ rsync --rsh=ssh --protocol=28 -q /tmp/cleanup-fresh-metadata/composite*.xml tools at filemgmt.jboss.org:$sd/
rm -fr /tmp/cleanup-fresh-metadata/
done
echo "" | tee -a $log
}
-getSubDirCount ()
+getSubDirsCount ()
{
# need count of children
for ssd in $subsubdirs; do
More information about the jbosstools-commits
mailing list