airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1229286 - /incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
Date Mon, 09 Jan 2012 18:38:03 GMT
Author: lahiru
Date: Mon Jan  9 18:38:03 2012
New Revision: 1229286

URL: http://svn.apache.org/viewvc?rev=1229286&view=rev
Log:
setting standardINput if its "".

Modified:
    incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java

Modified: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java?rev=1229286&r1=1229285&r2=1229286&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
(original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
Mon Jan  9 18:38:03 2012
@@ -87,7 +87,7 @@ public class GramRSLGenerator {
             jobAttr.setMaxWallTime(29);
         }
 
-        if (app.getStandardInput() != null || "".equals(app.getStandardInput())) {
+        if (app.getStandardInput() != null || !"".equals(app.getStandardInput())) {
             jobAttr.setStdin(app.getStandardInput());
         } else {
             // input parameter



Mime
View raw message