|
Loading...
|
alfs-log@linuxfromscratch.org
[Prev] Thread [Next] | [Prev] Date [Next]
r3573 - jhalfs/branches/ablfs/BLFS/xsl pierre Sat Feb 25 02:00:39 2012
Author: pierre
Date: 2012-02-25 02:51:13 -0700 (Sat, 25 Feb 2012)
New Revision: 3573
Modified:
jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl
Log:
Add sudo to generation of rm-rf when cleanning the build tree
because some files may be ownded by root (python2 e.g.)
Modified: jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl
===================================================================
--- jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl 2012-02-24 15:29:08 UTC (rev
3572)
+++ jhalfs/branches/ablfs/BLFS/xsl/scripts.xsl 2012-02-25 09:51:13 UTC (rev
3573)
@@ -78,6 +78,11 @@
That is no more true
<xsl:if test="not(@id='mesalib')"> -->
<xsl:text>cd $SRC_DIR/$PKG_DIR
</xsl:text>
+ <!-- In some case, some files in the build tree are owned
+ by root -->
+ <xsl:if test="$sudo='y'">
+ <xsl:text>sudo </xsl:text>
+ </xsl:if>
<xsl:text>rm -rf $UNPACKDIR unpacked

</xsl:text>
<!-- Same reason as preceding comment
</xsl:if>
--
http://linuxfromscratch.org/mailman/listinfo/alfs-log
Unsubscribe: See the above information page
- r3573 - jhalfs/branches/ablfs/BLFS/xsl pierre 2012/02/25 <=