Author: nickboldt
Date: 2010-11-09 15:26:18 -0500 (Tue, 09 Nov 2010)
New Revision: 26395
Modified:
trunk/build/target-platform/publish.sh
Log:
fix du for the first run (if dir not already exist)
Modified: trunk/build/target-platform/publish.sh
===================================================================
--- trunk/build/target-platform/publish.sh 2010-11-09 20:13:58 UTC (rev 26394)
+++ trunk/build/target-platform/publish.sh 2010-11-09 20:26:18 UTC (rev 26395)
@@ -26,7 +26,7 @@
if [[ -d ${repoPath} ]]; then
cd ${repoPath}
- du -sh ${repoPath} ${destinationPath}/${targetFile}
+ du -sh ${repoPath}; if [[ -d ${destinationPath}/${targetFile} ]]; then du -sh
${destinationPath}/${targetFile}; fi
# 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