A few scripts need /tools/bin/bash as the sha-bang to can be executed.

This commit is contained in:
Manuel Canales Esparcia 2005-10-04 19:32:47 +00:00
parent 80c00fc139
commit 76fad58640

View file

@ -43,7 +43,16 @@
</xsl:variable> </xsl:variable>
<!-- Creating dirs and files --> <!-- Creating dirs and files -->
<exsl:document href="{$dirname}/{$order}-{$filename}" method="text"> <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
<xsl:text>#!/bin/sh&#xA;&#xA;</xsl:text> <xsl:choose>
<xsl:when test="@id='ch-system-changingowner' or
@id='ch-system-creatingdirs' or
@id='ch-system-createfiles'">
<xsl:text>#!/tools/bin/bash&#xA;&#xA;</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>#!/bin/sh&#xA;&#xA;</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="sect2[@role='installation'] or <xsl:if test="sect2[@role='installation'] or
@id='ch-tools-adjusting' or @id='ch-tools-adjusting' or
@id='ch-system-readjusting'"> @id='ch-system-readjusting'">