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

    r4eba1ea r5f4982d  
    8484        <!-- Creating dirs and files -->
    8585      <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    86         <xsl:choose>
    87           <xsl:when test="@id='ch-system-changingowner' or
    88                     @id='ch-system-creatingdirs' or
    89                     @id='ch-system-createfiles'">
    90             <xsl:text>#!/tools/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    91           </xsl:when>
    92           <xsl:when test="@id='ch-tools-stripping' or
    93                     @id='ch-system-strippingagain'">
    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>
     86        <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     87        <xsl:if test="not(@id='ch-tools-stripping') and
     88                      not(@id='ch-system-strippingagain')">
     89          <xsl:text>set -e&#xA;</xsl:text>
     90        </xsl:if>
     91        <xsl:text>&#xA;</xsl:text>
    10092        <xsl:if test="(sect2[@role='installation'] and
    10193                           not(@id='bootable-kernel'))">
Note: See TracChangeset for help on using the changeset viewer.