Ignore:
Timestamp:
03/19/2006 01:40:28 PM (19 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    rad71d98 rd87b293  
    418418EOF
    419419) >> $MKFILE.tmp
    420 }
    421 
    422 
    423 #----------------------------------#
    424 wrt_export_lang() {            #
    425 #----------------------------------#
    426   echo -e '\t@echo "export LANG=$(LANG)" > envars' >> $MKFILE.tmp
    427 }
    428 
    429 
    430 #----------------------------------#
    431 wrt_export_lang2() {            #
    432 #----------------------------------#
    433   echo -e '\t@echo "export LC_ALL=$(LC_ALL)" > envars' >> $MKFILE.tmp
    434   echo -e '\t@echo "export LANG=$(LANG)" >> envars' >> $MKFILE.tmp
    435420}
    436421
     
    634619                 --stringparam timezone $TIMEZONE \
    635620                 --stringparam page $PAGE \
     621                 --stringparam lang $LANG \
     622                 --stringparam lc_all $LC_ALL \
    636623                 --stringparam keymap $KEYMAP \
    637624                 --stringparam grsecurity_host $GRSECURITY_HOST \
    638625                 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
    639         for i in $(find ./${PROGNAME}-commands/chapter07/*) ; do
    640           sed -i 's/"EOF"/EOF/g' $i ;
    641         done
    642626      ;;
    643627    lfs)
     
    649633                 --stringparam timezone $TIMEZONE \
    650634                 --stringparam page $PAGE \
     635                 --stringparam lang $LANG \
    651636                 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
    652         for i in $(find ./${PROGNAME}-commands/chapter07/*) ; do
    653           sed -i 's/"EOF"/EOF/g' $i ;
    654         done
    655637      ;;
    656638    blfs)
Note: See TracChangeset for help on using the changeset viewer.