[cig-commits] r15725 - doc/geodynamics.org/benchmarks/trunk

luis at geodynamics.org luis at geodynamics.org
Wed Sep 30 15:08:08 PDT 2009


Author: luis
Date: 2009-09-30 15:08:07 -0700 (Wed, 30 Sep 2009)
New Revision: 15725

Modified:
   doc/geodynamics.org/benchmarks/trunk/upload.sh
Log:
Updated script that uploads html files to plone

Modified: doc/geodynamics.org/benchmarks/trunk/upload.sh
===================================================================
--- doc/geodynamics.org/benchmarks/trunk/upload.sh	2009-09-30 22:08:02 UTC (rev 15724)
+++ doc/geodynamics.org/benchmarks/trunk/upload.sh	2009-09-30 22:08:07 UTC (rev 15725)
@@ -5,7 +5,7 @@
 
 source ./common.sh
 
-for html in $(find . -name '*.html'); do
+for html in $(cat ./upload.txt); do
 
     # strip out leading ./ from the relative filename
     path=$(echo $html | sed sq^\./qqg)
@@ -25,15 +25,8 @@
     # build the target url
     url="${benchroot}/${coll}/${base}"
 
-    echo "Uploading ${html}"
+    # upload file to target url
+    ./upload.py ${html} ${url}
 
-    #echo "Uploading ${html}"
-    #echo "      url = ${url}"
-    #nd -p ${html} ${url}
-
-    # set the title
-    #echo "    title = ${title}"
-    #nd -e title="${title}" -N ${zopens} $url
-
 done
 



More information about the CIG-COMMITS mailing list