[jbosstools-commits] JBoss Tools SVN: r43713 - trunk/build/util/cleanup.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Sep 14 15:31:31 EDT 2012


Author: nickboldt
Date: 2012-09-14 15:31:31 -0400 (Fri, 14 Sep 2012)
New Revision: 43713

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:30:28 UTC (rev 43712)
+++ trunk/build/util/cleanup/jbosstools-cleanup.sh	2012-09-14 19:31:31 UTC (rev 43713)
@@ -89,7 +89,7 @@
 		# generate metadata in the nightly/core/trunk/ folder to composite the remaining sites into one
 		getSubDirs $sd 1; #return #getSubDirsReturn
 		getSubDirsCount $getSubDirsReturn; #return $getSubDirsCountReturn
-		if [[ $getSubDirsCountReturn -gt 0 ]]; 
+		if [[ $getSubDirsCountReturn -gt 0 ]]; then
 			echo "Generate metadata ${getSubDirsCountReturn} subdirs in $sd/" | tee -a $log	
 			mkdir -p /tmp/cleanup-fresh-metadata/
 			regenCompositeMetadata "$getSubDirsReturn" "$getSubDirsCountReturn" "org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository" "/tmp/cleanup-fresh-metadata/compositeContent.xml"
@@ -99,7 +99,6 @@
 		else
 			echo "No subdirs found in $sd/" | tee -a $log	
 			# TODO delete composite*.xml from $sd/ folder if there are no subdirs present
-
 		fi
 	done
 	echo "" | tee -a $log	



More information about the jbosstools-commits mailing list