Changeset ad71d98 for common


Ignore:
Timestamp:
03/19/2006 12:44:32 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
d87b293
Parents:
c3c4e1d
Message:

Set the actual TIMEZONE and PAGE values inside the generated scripts instead of exported envars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    rc3c4e1d rad71d98  
    418418EOF
    419419) >> $MKFILE.tmp
    420 }
    421 
    422 
    423 #----------------------------------#
    424 wrt_export_timezone() {            #
    425 #----------------------------------#
    426   echo -e '\t@echo "export TIMEZONE=$(TIMEZONE)" >> envars' >> $MKFILE.tmp
    427 }
    428 
    429 
    430 #----------------------------------#
    431 wrt_export_pagesize() {            #
    432 #----------------------------------#
    433   echo -e '\t@echo "export PAGE=$(PAGE)" >> envars' >> $MKFILE.tmp
    434420}
    435421
     
    642628    hlfs)
    643629        echo -n "${tab_} ${L_arrow}${BOLD}$MODEL${R_arrow} HLFS architecture"
    644         xsltproc  --nonet \
    645                   --xinclude \
    646                   --stringparam model $MODEL \
    647                   --stringparam testsuite $TEST \
    648                   --stringparam keymap $KEYMAP \
    649                   --stringparam grsecurity_host $GRSECURITY_HOST \
    650                   -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
     630        xsltproc --nonet \
     631                 --xinclude \
     632                 --stringparam model $MODEL \
     633                 --stringparam testsuite $TEST \
     634                 --stringparam timezone $TIMEZONE \
     635                 --stringparam page $PAGE \
     636                 --stringparam keymap $KEYMAP \
     637                 --stringparam grsecurity_host $GRSECURITY_HOST \
     638                 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
    651639        for i in $(find ./${PROGNAME}-commands/chapter07/*) ; do
    652640          sed -i 's/"EOF"/EOF/g' $i ;
     
    659647                 --stringparam testsuite $TEST \
    660648                 --stringparam vim-lang $VIMLANG \
     649                 --stringparam timezone $TIMEZONE \
     650                 --stringparam page $PAGE \
    661651                 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
    662652        for i in $(find ./${PROGNAME}-commands/chapter07/*) ; do
Note: See TracChangeset for help on using the changeset viewer.