Changeset 5f4982d for CLFS/clfs.xsl


Ignore:
Timestamp:
12/04/2006 12:49:35 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
14eaa9f
Parents:
4eba1ea
Message:

Simplified sha-bang addition.
We are creating the /bin/bash symlink before entering to the chroot jail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/clfs.xsl

    r4eba1ea r5f4982d  
    8787            <!-- Creating dirs and files -->
    8888          <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    89             <xsl:choose>
    90               <xsl:when test="../@id='chapter-chroot'">
    91                 <xsl:text>#!/tools/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    92               </xsl:when>
    93               <xsl:when test="@id='ch-system-stripping'">
    94                 <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
    95               </xsl:when>
    96               <xsl:otherwise>
    97                 <xsl:text>#!/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    98               </xsl:otherwise>
    99             </xsl:choose>
     89            <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     90            <xsl:if test="not(@id='ch-system-stripping')">
     91              <xsl:text>set -e</xsl:text>
     92            </xsl:if>
     93            <xsl:text>&#xA;</xsl:text>
    10094            <xsl:if test="sect2[@role='installation']">
    10195              <xsl:text>cd $PKGDIR&#xA;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.