Changeset 5f4982d for LFS/lfs.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
  • LFS/lfs.xsl

    r4eba1ea r5f4982d  
    7575        <!-- Creating dirs and files -->
    7676      <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    77         <xsl:choose>
    78           <xsl:when test="@id='ch-system-changingowner' or
    79                     @id='ch-system-creatingdirs' or
    80                     @id='ch-system-createfiles'">
    81             <xsl:text>#!/tools/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    82           </xsl:when>
    83           <xsl:when test="@id='ch-tools-stripping' or
    84                     @id='ch-system-strippingagain'">
    85             <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
    86           </xsl:when>
    87           <xsl:otherwise>
    88             <xsl:text>#!/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    89           </xsl:otherwise>
    90         </xsl:choose>
     77        <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     78        <xsl:if test="not(@id='ch-tools-stripping') and
     79                      not(@id='ch-system-strippingagain')">
     80          <xsl:text>set -e&#xA;</xsl:text>
     81        </xsl:if>
     82        <xsl:text>&#xA;</xsl:text>
    9183        <xsl:if test="sect2[@role='installation']">
    9284          <xsl:text>cd $PKGDIR&#xA;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.