Changeset 9e1915a for common


Ignore:
Timestamp:
03/21/2006 08:01:36 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
3d7b0564
Parents:
a9490ab
Message:

Process only the materials/ files to create the packages and patches files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    ra9490ab r9e1915a  
    578578                  -o patcheslist_.wget \
    579579                  patcheslist.xsl \
    580                   $BOOK/${ARCH}-index.xml   
     580                  $BOOK/materials/${ARCH}-chapter.xml
    581581      ;;
    582582    *)  return
     
    602602#----------------------------#
    603603  local saveIFS=$IFS
    604  
     604
    605605  # Check for libxslt instead of just letting the script hit 'xsltproc' and fail.
    606606  test `type -p xsltproc` || eval "echo \"This feature requires libxslt.\"
     
    667667
    668668  # Grab the patches and package names.
    669   for i in patches packages ; do 
     669  for i in patches packages ; do
    670670    rm -f $i
    671671  done
     
    690690      }
    691691      #################################
    692  
     692
    693693      # We only want a list arch specific files..
    694694      # Unfortunately this script produces URL's which must be converted to a std format
     
    697697               -o packageslist_.wget \
    698698               packageslist.xsl \
    699                $BOOK/${ARCH}-index.xml   
    700 
    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
    702702      grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \
    703703                                                 -e 's@">@"@' \
     
    708708      IFS=$'\x0A'
    709709      for f in `cat packages.tmp`; do
    710         IFS=$saveIFS  # Restore the system defaults     
     710        IFS=$saveIFS  # Restore the system defaults
    711711        LOC_add_packages_entry \
    712712        `echo $f | sed -e 's/-version//' \
     
    716716     echo " ...OK"
    717717     ;;
    718            
     718
    719719    *)
    720720      echo -n "Creating <${PROGNAME}> specific packageslist_.wget file"
     
    723723                                               -e '/generic/d' >> packages
    724724      echo " ...OK"
    725       ;; 
     725      ;;
    726726  esac
    727727
Note: See TracChangeset for help on using the changeset viewer.