[Swift-commit] r2941 - provenancedb

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Sun May 17 10:27:08 CDT 2009


Author: benc
Date: 2009-05-17 10:27:08 -0500 (Sun, 17 May 2009)
New Revision: 2941

Modified:
   provenancedb/db-to-opm.sh
Log:
OPM exporter needs to at least encode < as <

Modified: provenancedb/db-to-opm.sh
===================================================================
--- provenancedb/db-to-opm.sh	2009-05-17 12:03:39 UTC (rev 2940)
+++ provenancedb/db-to-opm.sh	2009-05-17 15:27:08 UTC (rev 2941)
@@ -86,7 +86,8 @@
  done
 
 sqlite3 -separator ' ' -batch provdb "select value from dataset_values where dataset_id='$artifact';" | while read value ; do
-  echo "<swift:value>$value</swift:value>"
+  encvalue=$(echo $value | sed 's/</\</g')
+  echo "<swift:value>$encvalue</swift:value>"
  done
 
 echo "    </value>"




More information about the Swift-commit mailing list