Ignore:
Timestamp:
08/14/2006 08:59:05 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
b928382
Parents:
00f4966
Message:

Merged r2942:2948 from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/libs/scripts.xsl

    r00f4966 r2fedf49  
    9898            <xsl:text>&#xA;PKG_DIR=</xsl:text>
    9999            <xsl:value-of select="$ftpdir"/>
    100             <xsl:text>&#xA;&#xA;</xsl:text>
     100            <xsl:text>&#xA;SRC_DIR=$SRC_DIR&#xA;&#xA;</xsl:text>
    101101            <!-- Download code and build commands -->
    102102            <xsl:apply-templates select="sect2">
     
    105105            </xsl:apply-templates>
    106106            <!-- Clean-up -->
    107             <xsl:text>cd ~/sources/$PKG_DIR&#xA;</xsl:text>
     107            <xsl:text>cd $SRC_DIR/$PKG_DIR&#xA;</xsl:text>
    108108            <xsl:text>rm -rf $UNPACKDIR unpacked&#xA;&#xA;</xsl:text>
    109109          </xsl:when>
     
    126126    <xsl:choose>
    127127      <xsl:when test="@role = 'package'">
    128         <xsl:text>mkdir -p ~/sources/$PKG_DIR&#xA;</xsl:text>
    129         <xsl:text>cd ~/sources/$PKG_DIR&#xA;</xsl:text>
     128        <xsl:text>mkdir -p $SRC_DIR/$PKG_DIR&#xA;</xsl:text>
     129        <xsl:text>cd $SRC_DIR/$PKG_DIR&#xA;</xsl:text>
    130130        <xsl:apply-templates select="itemizedlist/listitem/para">
    131131          <xsl:with-param name="package" select="$package"/>
Note: See TracChangeset for help on using the changeset viewer.