[Swift-commit] r3748 - provenancedb
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Wed Dec 8 13:28:18 CST 2010
Author: lgadelha
Date: 2010-12-08 13:28:18 -0600 (Wed, 08 Dec 2010)
New Revision: 3748
Modified:
provenancedb/prov-to-sql.sh
Log:
Minor fixes.
Modified: provenancedb/prov-to-sql.sh
===================================================================
--- provenancedb/prov-to-sql.sh 2010-12-08 18:19:27 UTC (rev 3747)
+++ provenancedb/prov-to-sql.sh 2010-12-08 19:28:18 UTC (rev 3748)
@@ -37,9 +37,9 @@
operatorid="${WFID}operator:$thread"
if [ $version -le 3726 ]; then
- $lhs=$(echo $lhs | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
- $rhs=$(echo $rhs | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
- $result=$(echo $result | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ lhs=$(echo $lhs | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ rhs=$(echo $rhs | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ result=$(echo $result | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
fi
echo "INSERT INTO dataset (id) VALUES ('$lhs');" >> tmp-ds.sql
@@ -53,7 +53,7 @@
while read id name output; do
if [ $version -le 3726 ]; then
- $output=$(echo $output | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ output=$(echo $output | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
fi
echo "INSERT INTO dataset (id) VALUES ('$output');" >> tmp-ds.sql
echo "INSERT INTO process (id, type, name, workflow_id) VALUES ('$id', 'function', '$name', '$WF');" >> tmp-p.sql
@@ -64,7 +64,7 @@
# TODO need ordering/naming
if [ $version -le 3726 ]; then
- $value=$(echo $value | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ value=$(echo $value | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
fi
echo "INSERT INTO dataset (id) VALUES ('$value');" >> tmp-ds.sql
@@ -79,8 +79,8 @@
while read outer inner; do
if [ $version -le 3726 ]; then
- $outer=$(echo $outer | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
- $inner=$(echo $inner | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ outer=$(echo $outer | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ inner=$(echo $inner | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
fi
echo "INSERT INTO dataset (id) VALUES ('$outer');" >> tmp-ds.sql
@@ -91,7 +91,7 @@
while read dataset filename; do
if [ $version -le 3726 ]; then
- $dataset=$(echo $dataset | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ dataset=$(echo $dataset | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
fi
echo "INSERT INTO dataset (id) VALUES ('$dataset');" >> tmp-ds.sql
@@ -101,7 +101,7 @@
while read dataset value; do
if [ $version -le 3726 ]; then
- $dataset=$(echo $dataset | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ dataset=$(echo $dataset | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
fi
echo "INSERT INTO dataset (id) VALUES ('$dataset');" >> tmp-ds.sql
@@ -146,7 +146,7 @@
fi
if [ $version -le 3726 ]; then
- $dataset=$(echo $dataset | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
+ dataset=$(echo $dataset | sed -e 's/tag:benc at ci.uchicago.edu,2008:swift://g')
fi
echo "INSERT INTO dataset (id) VALUES ('$dataset');" >> tmp-ds.sql
More information about the Swift-commit
mailing list