Author: nickboldt
Date: 2010-11-10 01:14:41 -0500 (Wed, 10 Nov 2010)
New Revision: 26397
Modified:
trunk/build/target-platform/publish.sh
Log:
make target dir if not exist
Modified: trunk/build/target-platform/publish.sh
===================================================================
--- trunk/build/target-platform/publish.sh 2010-11-09 20:37:09 UTC (rev 26396)
+++ trunk/build/target-platform/publish.sh 2010-11-10 06:14:41 UTC (rev 26397)
@@ -26,7 +26,10 @@
if [[ -d ${repoPath} ]]; then
cd ${repoPath}
- du -sh ${repoPath}; if [[ -d ${destinationPath}/${targetFile} ]]; then du -sh
${destinationPath}/${targetFile}; fi
+ if [[ ! -d ${destinationPath}/${targetFile} ]]; then
+ mkdir -p ${destinationPath}/${targetFile}
+ fi
+ du -sh ${repoPath} ${destinationPath}/${targetFile}
# copy/update into central place for reuse by local downstream build jobs
date; rsync -arzqc --delete-after --delete-excluded --rsh=ssh --exclude
'.blobstore' * ${destinationPath}/${targetFile}/
Show replies by date