Author: nickboldt
Date: 2010-11-10 10:37:59 -0500 (Wed, 10 Nov 2010)
New Revision: 26416
Modified:
trunk/build/target-platform/publish.sh
Log:
create /qa/services/http/binaries/RHDS/updates/jbds-target-platform if not exist
Modified: trunk/build/target-platform/publish.sh
===================================================================
--- trunk/build/target-platform/publish.sh 2010-11-10 15:10:40 UTC (rev 26415)
+++ trunk/build/target-platform/publish.sh 2010-11-10 15:37:59 UTC (rev 26416)
@@ -37,6 +37,10 @@
du -sh ${repoPath} ${destinationPath}/${targetFile}
# upload to
http://download.jboss.org/jbossotools/updates/target-platform/latest/ for
public use
+ if [[ ${DESTINATION/@/} == ${DESTINATION} ]]; then # local path, no user@server
+ mkdir -p ${DESTINATION}/
+ fi
+ # if the following line fails, make sure that ${DESTINATION} is already created on
target server
date; rsync -arzqc --delete-after --delete-excluded --rsh=ssh --exclude
'.blobstore' * ${DESTINATION}/latest/
# create zip, then upload to
http://download.jboss.org/jbossotools/updates/target-platform/${targetFil... for public
use