fixing xslt

Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/a0f5419e
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/a0f5419e
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/a0f5419e

Branch: refs/heads/workflow-support
Commit: a0f5419e0e7b0961b4515164cf074909fdcb7afa
Parents: 4b7689a
Author: lahiru <[email protected]>
Authored: Fri Jul 11 23:29:56 2014 -0400
Committer: lahiru <[email protected]>
Committed: Fri Jul 11 23:29:56 2014 -0400

----------------------------------------------------------------------
 modules/configuration/server/src/main/resources/PBSTemplate.xslt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/a0f5419e/modules/configuration/server/src/main/resources/PBSTemplate.xslt
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/PBSTemplate.xslt 
b/modules/configuration/server/src/main/resources/PBSTemplate.xslt
index 6caa604..cf8dfb6 100644
--- a/modules/configuration/server/src/main/resources/PBSTemplate.xslt
+++ b/modules/configuration/server/src/main/resources/PBSTemplate.xslt
@@ -59,7 +59,7 @@ export<xsl:text>   </xsl:text><xsl:value-of select="."/>
       <xsl:value-of select="."/><xsl:text>   </xsl:text>
     </xsl:for-each>
 cd <xsl:text>   </xsl:text><xsl:value-of 
select="ns:workingDirectory"/><xsl:text>&#xa;</xsl:text>
-    <xsl:choose><xsl:when test="ns:jobSubmitterCommand != null">
+    <xsl:choose><xsl:when test="ns:jobSubmitterCommand != ''">
 <xsl:value-of select="ns:jobSubmitterCommand"/><xsl:text>   </xsl:text>
 <xsl:value-of select="ns:cpuCount"/><xsl:text>   </xsl:text>
     </xsl:when></xsl:choose><xsl:value-of 
select="ns:executablePath"/><xsl:text>   </xsl:text>
@@ -72,4 +72,4 @@ cd <xsl:text>   </xsl:text><xsl:value-of 
select="ns:workingDirectory"/><xsl:text
 
 </xsl:template>
 
-</xsl:stylesheet>
+</xsl:stylesheet>
\ No newline at end of file

Reply via email to