Ignore:
Timestamp:
03/10/2006 11:35:41 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
aab51df
Parents:
821a2c6
Message:

Added LANG configuration option to LFS module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r821a2c6 rdd810ea  
    11#!/bin/bash
    2 set +e
     2
     3# $Id$
     4
     5set +e
    36
    47# VT100 colors
     
    236239        echo "export PKGDIR=\$(MOUNT_PT)\$(SRC)/\$\$ROOT" > envars && \\
    237240
    238         chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT 
     241        chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT
    239242EOF
    240243) >> $MKFILE.tmp
     
    445448#----------------------------------#
    446449  echo -e '\t@echo "export PAGE=$(PAGE)" >> envars' >> $MKFILE.tmp
     450}
     451
     452
     453#----------------------------------#
     454wrt_export_lang() {            #
     455#----------------------------------#
     456  echo -e '\t@echo "export LANG=$(LANG)" >> envars' >> $MKFILE.tmp
    447457}
    448458
     
    585595           -o patcheslist_.wget \
    586596           patcheslist.xsl \
    587            $BOOK/index.xml 
     597           $BOOK/index.xml
    588598           #> /dev/null 2>&1
    589599
     
    653663                 --stringparam vim-lang $VIMLANG \
    654664                 -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
    655668      ;;
    656669    blfs)
     
    664677    *) exit 1
    665678  esac
    666    
     679
    667680  echo " ...OK"
    668681
     
    683696
    684697  # There is no HLFS patches.ent file so we will create one.
    685  
     698
    686699  case "${PROGNAME}" in
    687700    hlfs)  build_patches_file ;;
     
    691704    *) exit 1
    692705  esac
    693  
     706
    694707  # Done. Moving on...
    695708  get_sources
     
    702715  cd $BUILDDIR/sources
    703716
    704   # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} 
     717  # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn}
    705718  # that don't conform to norms in the URL scheme.
    706719  DIR=`echo $1 | sed 's@-doc@@;s@-linuxthreads@@;s@-libidn@@;s@-testsuite@@'`
     
    770783
    771784      VRS=`echo $i | sed -e 's/.* //' -e 's/"//g'`
    772       case $PKG in 
     785      case $PKG in
    773786        tcl)         FILE="$PKG$VRS-src.tar.bz2"  ;;
    774787        vim-lang)    PKG="vim"
Note: See TracChangeset for help on using the changeset viewer.