- Timestamp:
- 03/10/2006 11:35:41 PM (19 years ago)
- Branches:
- experimental
- Children:
- aab51df
- Parents:
- 821a2c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.