Changeset 5e9076f for BLFS/xsl


Ignore:
Timestamp:
02/25/2012 09:51:13 AM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
d08afa5
Parents:
d7818f5
Message:

Add sudo to generation of rm-rf when cleanning the build tree
because some files may be ownded by root (python2 e.g.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    rd7818f5 r5e9076f  
    7979            <xsl:if test="not(@id='mesalib')"> -->
    8080              <xsl:text>cd $SRC_DIR/$PKG_DIR&#xA;</xsl:text>
     81            <!-- In some case, some files in the build tree are owned
     82                 by root -->
     83              <xsl:if test="$sudo='y'">
     84                <xsl:text>sudo </xsl:text>
     85              </xsl:if>
    8186              <xsl:text>rm -rf $UNPACKDIR unpacked&#xA;&#xA;</xsl:text>
    8287            <!-- Same reason as preceding comment
Note: See TracChangeset for help on using the changeset viewer.