Changeset 1330ebc for CLFS/clfs.xsl


Ignore:
Timestamp:
02/17/2007 02:08:46 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
c0b307c
Parents:
b7ea8ff
Message:

Fixed chroot environment to be more closed to the one expected by the books.
Need be full tested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS/clfs.xsl

    rb7ea8ff r1330ebc  
    8787            <!-- Creating dirs and files -->
    8888          <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    89             <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     89            <xsl:choose>
     90              <xsl:when test="@id='ch-chroot-changingowner' or
     91                        @id='ch-chroot-creatingdirs' or
     92                        @id='ch-chroot-createfiles'">
     93                <xsl:text>#!/tools/bin/bash&#xA;set +h&#xA;</xsl:text>
     94              </xsl:when>
     95              <xsl:otherwise>
     96                <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     97              </xsl:otherwise>
     98            </xsl:choose>
    9099            <xsl:if test="not(@id='ch-system-stripping')">
    91100              <xsl:text>set -e</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.