[jbosstools-commits] JBoss Tools SVN: r22888 - trunk/build.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Jun 18 13:08:09 EDT 2010


Author: nickboldt
Date: 2010-06-18 13:08:08 -0400 (Fri, 18 Jun 2010)
New Revision: 22888

Modified:
   trunk/build/publish.sh
Log:
fix unzip flag order

Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh	2010-06-18 16:55:16 UTC (rev 22887)
+++ trunk/build/publish.sh	2010-06-18 17:08:08 UTC (rev 22888)
@@ -7,13 +7,14 @@
 rm -fr ${WORKSPACE}/site; mkdir -p ${WORKSPACE}/site/${JOB_NAME}
 for z in ${WORKSPACE}/sources/site/target/site.zip ${WORKSPACE}/sources/site/target/site_assembly.zip; do
 	if [[ -f $z ]]; then
+		echo "$z ..."
 		# note the job name, build number, and build ID of the latest snapshot zip
 		echo "JOB_NAME = ${JOB_NAME}" > ${WORKSPACE}/site/${JOB_NAME}/JOB_NAME.txt
 		echo "BUILD_NUMBER = ${BUILD_NUMBER}" > ${WORKSPACE}/site/${JOB_NAME}/BUILD_NUMBER.txt
 		echo "BUILD_ID = ${BUILD_ID}" > ${WORKSPACE}/site/${JOB_NAME}/BUILD_ID.txt
 	
 		# unzip into workspace for publishing as unpacked site
-		unzip $z -fo -q -d ${WORKSPACE}/site/${JOB_NAME}/
+		unzip -f -o -q -d ${WORKSPACE}/site/${JOB_NAME}/ $z
 	
 		# copy into workspace for access by bucky aggregator (same name every time)
 		rsync -aq $z ${WORKSPACE}/site/${SNAPNAME}
@@ -23,7 +24,7 @@
 # if zips exist produced & renamed by ant script, copy them too
 for z in $(find ${WORKSPACE} -maxdepth 5 -mindepth 3 -name "*Update*.zip"); do 
 	echo "$z ..."
-	unzip $z -fo -q -d ${WORKSPACE}/site/${JOB_NAME}/
+	unzip -f -o -q -d ${WORKSPACE}/site/${JOB_NAME}/ $z
 	rsync -aq $z ${WORKSPACE}/site/${SNAPNAME}
 done
 



More information about the jbosstools-commits mailing list