[jbosstools-commits] JBoss Tools SVN: r22475 - branches/3.2.helios/build.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Jun 2 02:04:42 EDT 2010
Author: nickboldt
Date: 2010-06-02 02:04:42 -0400 (Wed, 02 Jun 2010)
New Revision: 22475
Modified:
branches/3.2.helios/build/publish.sh
Log:
check for a file (-f) not a dir (-d)
Modified: branches/3.2.helios/build/publish.sh
===================================================================
--- branches/3.2.helios/build/publish.sh 2010-06-02 06:04:16 UTC (rev 22474)
+++ branches/3.2.helios/build/publish.sh 2010-06-02 06:04:42 UTC (rev 22475)
@@ -25,6 +25,6 @@
if [[ -d ${WORKSPACE}/site/${JOB_NAME} ]]; then
rsync -arzq --delete ${WORKSPACE}/site/${JOB_NAME} $DESTINATION/builds/nightly/3.2.helios/
fi
-if [[ -d ${WORKSPACE}/site/${SNAPNAME} ]]; then
+if [[ -f ${WORKSPACE}/site/${SNAPNAME} ]]; then
rsync -arzq --delete ${WORKSPACE}/site/${SNAPNAME} $DESTINATION/builds/nightly/3.2.helios/
fi
\ No newline at end of file
More information about the jbosstools-commits
mailing list