Changeset d87b293 for LFS


Ignore:
Timestamp:
03/19/2006 01:40:28 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
090712a
Parents:
ad71d98
Message:

Set the actual LANG and LC_ALL values inside the generated scripts instead of exported envars.

Location:
LFS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    rad71d98 rd87b293  
    2929  <!-- Page size -->
    3030  <xsl:param name="page" select="letter"/>
     31
     32  <!-- Locale settings -->
     33  <xsl:param name="lang" select="en_ca"/>
    3134
    3235  <xsl:template match="/">
     
    134137                contains(string(),'export LANG=')">
    135138        <xsl:value-of select="substring-before(string(),'export LANG=')"/>
    136         <xsl:text>export LANG=$LANG</xsl:text>
     139        <xsl:text>export LANG=</xsl:text>
     140        <xsl:value-of select="$lang"/>
    137141        <xsl:value-of select="substring-after(string(),'modifiers]')"/>
    138142        <xsl:text>&#xA;</xsl:text>
  • LFS/master.sh

    rad71d98 rd87b293  
    256256    fi
    257257
    258     case "${this_script}" in
    259       *profile*  ) wrt_export_lang ;; # For /etc/profile we need to set LANG envar.
    260     esac
    261 
    262258      # Check if we have a real /etc/fstab file
    263259    if [[ `_IS_ ${this_script} fstab` ]] && [[ -n "$FSTAB" ]] ; then
     
    310306SRC= /sources
    311307MOUNT_PT= $BUILDDIR
    312 PAGE= $PAGE
    313 TIMEZONE= $TIMEZONE
    314 LANG= $LANG
    315308
    316309include makefile-functions
Note: See TracChangeset for help on using the changeset viewer.