Changeset dd810ea
- Timestamp:
- 03/10/2006 11:35:41 PM (19 years ago)
- Branches:
- experimental
- Children:
- aab51df
- Parents:
- 821a2c6
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
r821a2c6 rdd810ea 124 124 <xsl:text>
</xsl:text> 125 125 </xsl:when> 126 <!-- Setting $LANG for /et/profile --> 127 <xsl:when test="ancestor::sect1[@id='ch-scripts-profile'] and 128 contains(string(),'export LANG=')"> 129 <xsl:value-of select="substring-before(string(),'export LANG=')"/> 130 <xsl:text>export LANG=$LANG</xsl:text> 131 <xsl:value-of select="substring-after(string(),'modifiers]')"/> 132 <xsl:text>
</xsl:text> 133 </xsl:when> 126 134 <!-- Copying the kernel config file --> 127 135 <xsl:when test="string() = 'make mrproper'"> -
LFS/master.sh
r821a2c6 rdd810ea 261 261 fi 262 262 263 case "${this_script}" in 264 *profile* ) wrt_export_lang ;; # For /etc/profile we need to set LANG envar. 265 esac 266 263 267 # Check if we have a real /etc/fstab file 264 268 if [[ `_IS_ ${this_script} fstab` ]] && [[ -n "$FSTAB" ]] ; then … … 313 317 PAGE= $PAGE 314 318 TIMEZONE= $TIMEZONE 319 LANG= $LANG 315 320 316 321 include makefile-functions -
common/common-functions
r821a2c6 rdd810ea 1 1 #!/bin/bash 2 set +e 2 3 # $Id$ 4 5 set +e 3 6 4 7 # VT100 colors … … 236 239 echo "export PKGDIR=\$(MOUNT_PT)\$(SRC)/\$\$ROOT" > envars && \\ 237 240 238 chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT 241 chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT 239 242 EOF 240 243 ) >> $MKFILE.tmp … … 445 448 #----------------------------------# 446 449 echo -e '\t@echo "export PAGE=$(PAGE)" >> envars' >> $MKFILE.tmp 450 } 451 452 453 #----------------------------------# 454 wrt_export_lang() { # 455 #----------------------------------# 456 echo -e '\t@echo "export LANG=$(LANG)" >> envars' >> $MKFILE.tmp 447 457 } 448 458 … … 585 595 -o patcheslist_.wget \ 586 596 patcheslist.xsl \ 587 $BOOK/index.xml 597 $BOOK/index.xml 588 598 #> /dev/null 2>&1 589 599 … … 653 663 --stringparam vim-lang $VIMLANG \ 654 664 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 665 for i in $(find ./${PROGNAME}-commands/chapter07/*) ; do 666 sed -i 's/"EOF"/EOF/g' $i ; 667 done 655 668 ;; 656 669 blfs) … … 664 677 *) exit 1 665 678 esac 666 679 667 680 echo " ...OK" 668 681 … … 683 696 684 697 # There is no HLFS patches.ent file so we will create one. 685 698 686 699 case "${PROGNAME}" in 687 700 hlfs) build_patches_file ;; … … 691 704 *) exit 1 692 705 esac 693 706 694 707 # Done. Moving on... 695 708 get_sources … … 702 715 cd $BUILDDIR/sources 703 716 704 # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} 717 # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} 705 718 # that don't conform to norms in the URL scheme. 706 719 DIR=`echo $1 | sed 's@-doc@@;s@-linuxthreads@@;s@-libidn@@;s@-testsuite@@'` … … 770 783 771 784 VRS=`echo $i | sed -e 's/.* //' -e 's/"//g'` 772 case $PKG in 785 case $PKG in 773 786 tcl) FILE="$PKG$VRS-src.tar.bz2" ;; 774 787 vim-lang) PKG="vim"
Note:
See TracChangeset
for help on using the changeset viewer.