You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by ru...@apache.org on 2002/01/27 19:46:11 UTC

cvs commit: jakarta-alexandria/proposal/gump/stylesheet bash.xsl win2k.xsl

rubys       02/01/27 10:46:11

  Modified:    proposal/gump/stylesheet bash.xsl win2k.xsl
  Log:
  Check the status code from scripts
  
  Revision  Changes    Path
  1.71      +2 -0      jakarta-alexandria/proposal/gump/stylesheet/bash.xsl
  
  Index: bash.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/bash.xsl,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- bash.xsl	27 Jan 2002 04:27:06 -0000	1.70
  +++ bash.xsl	27 Jan 2002 18:46:11 -0000	1.71
  @@ -544,6 +544,8 @@
       <xsl:text>eval "./</xsl:text>
       <xsl:value-of select="@name"/>
       <xsl:text>.sh $OUT 2&gt;&amp;1"&#10;</xsl:text>
  +
  +    <xsl:text>test $? -ge 1 &amp;&amp; export STATUS="FAILED"&#10;</xsl:text>
     </xsl:template>
   
     <!-- =================================================================== -->
  
  
  
  1.35      +2 -0      jakarta-alexandria/proposal/gump/stylesheet/win2k.xsl
  
  Index: win2k.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/win2k.xsl,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- win2k.xsl	14 Jan 2002 13:29:34 -0000	1.34
  +++ win2k.xsl	27 Jan 2002 18:46:11 -0000	1.35
  @@ -493,6 +493,8 @@
       <xsl:text>call .\</xsl:text>
       <xsl:value-of select="@name"/>
       <xsl:text>.bat %OUT% 2&gt;&amp;1&#10;</xsl:text>
  +
  +    <xsl:text>if errorlevel 1 SET STATUS=FAILED&#10;</xsl:text>
     </xsl:template>
   
     <!-- =================================================================== -->
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>