[Swift-commit] r3751 - provenancedb

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Dec 8 17:05:00 CST 2010


Author: lgadelha
Date: 2010-12-08 17:05:00 -0600 (Wed, 08 Dec 2010)
New Revision: 3751

Modified:
   provenancedb/swift-prov-import-all-logs
Log:
Minor fixes.


Modified: provenancedb/swift-prov-import-all-logs
===================================================================
--- provenancedb/swift-prov-import-all-logs	2010-12-08 22:38:54 UTC (rev 3750)
+++ provenancedb/swift-prov-import-all-logs	2010-12-08 23:05:00 UTC (rev 3751)
@@ -42,7 +42,7 @@
 	
 	if [ "$EXISTING" -eq "0" ];  then
 	    PROV_ENABLED=$(grep provenance $filename | wc -l)
-	    if [ "$PROV_ENABLED" -ge "0" ]; then
+	    if [ $PROV_ENABLED -gt 0 ]; then
 		echo IMPORTING
 		
 		if grep --silent "DEBUG Loader Swift finished with no errors" $filename; then
@@ -72,7 +72,7 @@
 		
                 #     import-run-to-xml $filename
 	    else 
-		echo SKIP: provenance.log not true in swift.properties
+		echo SKIP: provenance.log not set to true in etc/swift.properties
 	    fi
 	else
 	    echo SKIP: Already known in workflow




More information about the Swift-commit mailing list