Changeset a9ca77f


Ignore:
Timestamp:
02/13/2007 07:21:34 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
9bbf240
Parents:
53e258f
Message:

Fixed FTP mirror path for CLFSx books.

Location:
common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_download_pkgs

    r53e258f ra9ca77f  
    137137        xsltproc --nonet --xinclude \
    138138                 --stringparam server $SERVER \
     139                 --stringparam family clfs \
    139140                 -o $BUILDDIR/sources/urls.lst urls.xsl \
    140141                 $BOOK/materials/$ARCH-chapter.xml >>$LOGDIR/$LOG 2>&1
     
    145146        xsltproc --nonet --xinclude \
    146147                 --stringparam server $SERVER \
     148                 --stringparam family clfs \
    147149                 -o $BUILDDIR/sources/urls.lst urls.xsl \
    148150                 $BOOK/materials/$ARCH-chapter.xml >>$LOGDIR/$LOG 2>&1
     
    153155        xsltproc --nonet --xinclude \
    154156                 --stringparam server $SERVER \
     157                 --stringparam family clfs \
    155158                 -o $BUILDDIR/sources/urls.lst urls.xsl \
    156159                 $BOOK/materials/$ARCH-chapter.xml >>$LOGDIR/$LOG 2>&1
     
    161164        xsltproc --nonet --xinclude \
    162165                 --stringparam server $SERVER \
     166                 --stringparam family lfs \
    163167                 --stringparam model $MODEL \
    164168                 -o $BUILDDIR/sources/urls.lst urls.xsl \
     
    170174        xsltproc --nonet --xinclude \
    171175                 --stringparam server $SERVER \
     176                 --stringparam family lfs \
    172177                 -o ../sources/urls.lst urls.xsl \
    173178                 $BOOK/chapter03/chapter03.xml >>$LOGDIR/$LOG 2>&1
  • common/urls.xsl

    r53e258f ra9ca77f  
    1010  <!-- The FTP server used as fallback -->
    1111  <xsl:param name="server">ftp://ftp.osuosl.org</xsl:param>
     12
     13  <!-- The book family (lfs or clfs). Needed to use the proper FTP path. -->
     14  <xsl:param name="family">lfs</xsl:param>
    1215
    1316  <!-- The libc model used for HLFS -->
     
    5558      <!-- Write FTP mirror URLs -->
    5659      <xsl:value-of select="$server"/>
    57       <xsl:text>/pub/lfs/conglomeration/</xsl:text>
     60      <xsl:text>/pub/</xsl:text>
     61      <xsl:value-of select="$family"/>
     62      <xsl:text>/conglomeration/</xsl:text>
    5863      <xsl:choose>
    5964        <!-- Fix some directories. Test against $dirname to be sure that we
     
    7883          <xsl:text>tcl/</xsl:text>
    7984        </xsl:when>
    80         <xsl:when test="contains($dirname, 'uClibc')">
     85        <xsl:when test="contains($package, 'uClibc')">
    8186          <xsl:text>uClibc/</xsl:text>
    8287        </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.