- Timestamp:
- 03/10/2006 03:28:52 PM (19 years ago)
- Branches:
- experimental
- Children:
- 6aeb5b7
- Parents:
- 3f858ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r3f858ca rbef0a98 218 218 @ROOT=\`head -n1 /tmp/unpacked | sed 's@^./@@;s@/.*@@'\` && \\ 219 219 echo "export PKGDIR=\$(MOUNT_PT)\$(SRC)/\$\$ROOT" > envars && \\ 220 221 220 chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT 222 221 EOF … … 569 568 build_patches_file() { # Supply a suitably formated list of patches. 570 569 #----------------------------# 571 local saveIFS=$IFS 570 local IFS 571 echo -ne "Creating the patch file list " 572 572 573 573 LOC_add_patches_entry() { … … 580 580 --xinclude \ 581 581 -o patcheslist_.wget \ 582 hlfs-patcheslist_.xsl \ 583 $BOOK/index.xml > /dev/null 2>&1 582 patcheslist.xsl \ 583 $BOOK/index.xml 584 #> /dev/null 2>&1 584 585 585 586 rm -f patches … … 587 588 IFS=$'\x0A' # Modify the 'internal field separator' to break on 'LF' only 588 589 for f in `cat packages`; do 589 IFS=$saveIFS590 590 LOC_add_patches_entry \ 591 591 `echo $f | sed -e 's/-version//' \ … … 600 600 done 601 601 602 IFS=$saveIFS603 602 rm -f patcheslist_.wget 603 echo "...OK" 604 604 } 605 605 … … 621 621 mkdir -v commands 622 622 fi 623 echo -n "Extracting commands ..."623 echo -n "Extracting commands for" 624 624 625 625 # Dump the commands in shell script form from the HLFS book. 626 626 case ${PROGNAME} in 627 627 clfs) 628 echo "${tab_}Extracting commands for${L_arrow}${BOLD}$ARCH${R_arrow} target architecture"628 echo -n "${tab_} ${L_arrow}${BOLD}$ARCH${R_arrow} target architecture" 629 629 xsltproc --xinclude \ 630 630 --nonet \ … … 633 633 ;; 634 634 hlfs) 635 echo "${tab_}Extracting commands for${L_arrow}${BOLD}$MODEL${R_arrow} HLFS architecture"635 echo -n "${tab_} ${L_arrow}${BOLD}$MODEL${R_arrow} HLFS architecture" 636 636 xsltproc --nonet \ 637 637 --xinclude \ 638 638 --stringparam model $MODEL \ 639 639 --stringparam testsuite $TEST \ 640 --stringparam testchaintest 0 \ 640 641 --stringparam vim-lang $VIMLANG \ 641 642 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 642 643 ;; 643 644 lfs) 644 echo "${tab_}Extracting commands for${L_arrow}${BOLD}LFS${R_arrow} build"645 echo -n "${tab_} ${L_arrow}${BOLD}LFS${R_arrow} build" 645 646 xsltproc --nonet \ 646 647 --xinclude \ … … 650 651 ;; 651 652 blfs) 652 echo "${tab_}Extracting commands for${L_arrow}${BOLD}BLFS${R_arrow} build"653 echo -n "${tab_} ${L_arrow}${BOLD}BLFS${R_arrow} build" 653 654 xsltproc --nonet \ 654 655 --xinclude \ … … 660 661 esac 661 662 662 663 echo " ...OK" 663 664 664 665 # Make the scripts executable. … … 687 688 esac 688 689 689 690 690 # Done. Moving on... 691 echo -ne " ... done\n"692 691 get_sources 693 692 }
Note:
See TracChangeset
for help on using the changeset viewer.