- Timestamp:
- 03/21/2006 08:01:36 PM (19 years ago)
- Branches:
- experimental
- Children:
- 3d7b0564
- Parents:
- a9490ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
ra9490ab r9e1915a 578 578 -o patcheslist_.wget \ 579 579 patcheslist.xsl \ 580 $BOOK/ ${ARCH}-index.xml580 $BOOK/materials/${ARCH}-chapter.xml 581 581 ;; 582 582 *) return … … 602 602 #----------------------------# 603 603 local saveIFS=$IFS 604 604 605 605 # Check for libxslt instead of just letting the script hit 'xsltproc' and fail. 606 606 test `type -p xsltproc` || eval "echo \"This feature requires libxslt.\" … … 667 667 668 668 # Grab the patches and package names. 669 for i in patches packages ; do 669 for i in patches packages ; do 670 670 rm -f $i 671 671 done … … 690 690 } 691 691 ################################# 692 692 693 693 # We only want a list arch specific files.. 694 694 # Unfortunately this script produces URL's which must be converted to a std format … … 697 697 -o packageslist_.wget \ 698 698 packageslist.xsl \ 699 $BOOK/ ${ARCH}-index.xml700 701 # This has the correct format but contains packages from every book 699 $BOOK/materials/${ARCH}-chapter.xml 700 701 # This has the correct format but contains packages from every book 702 702 grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \ 703 703 -e 's@">@"@' \ … … 708 708 IFS=$'\x0A' 709 709 for f in `cat packages.tmp`; do 710 IFS=$saveIFS # Restore the system defaults 710 IFS=$saveIFS # Restore the system defaults 711 711 LOC_add_packages_entry \ 712 712 `echo $f | sed -e 's/-version//' \ … … 716 716 echo " ...OK" 717 717 ;; 718 718 719 719 *) 720 720 echo -n "Creating <${PROGNAME}> specific packageslist_.wget file" … … 723 723 -e '/generic/d' >> packages 724 724 echo " ...OK" 725 ;; 725 ;; 726 726 esac 727 727
Note:
See TracChangeset
for help on using the changeset viewer.