Author: nickboldt
Date: 2010-06-01 11:32:32 -0400 (Tue, 01 Jun 2010)
New Revision: 22456
Modified:
trunk/build/publish.sh
Log:
fix filename tests
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2010-06-01 15:16:22 UTC (rev 22455)
+++ trunk/build/publish.sh 2010-06-01 15:32:32 UTC (rev 22456)
@@ -8,11 +8,11 @@
SNAPNAME=${JOB_NAME}-Update-SNAPSHOT.zip
rm -fr ${WORKSPACE}/site; mkdir -p ${WORKSPACE}/site/${JOB_NAME}
-if [[ -f ${WORKSPACE}/*/site/target/site.zip ]]; then
+if [[ -f ${WORKSPACE}/sources/site/target/site.zip ]]; then
# copy into workspace for archiving
- rsync -aq ${WORKSPACE}/*/site/target/site.zip ${WORKSPACE}/site/${JOB_NAME}/${ZIPNAME}
+ rsync -aq ${WORKSPACE}/sources/site/target/site.zip
${WORKSPACE}/site/${JOB_NAME}/${ZIPNAME}
# copy into workspace for access by bucky aggregator
- rsync -aq ${WORKSPACE}/*/site/target/site.zip ${WORKSPACE}/site/${SNAPNAME}
+ rsync -aq ${WORKSPACE}/sources/site/target/site.zip ${WORKSPACE}/site/${SNAPNAME}
fi
# if zips exist produced & renamed by ant script, copy them too
Show replies by date