- Timestamp:
- 08/13/2006 06:24:16 PM (18 years ago)
- Branches:
- experimental
- Children:
- 2fedf49
- Parents:
- d0d9e90
- Location:
- BLFS/libs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/libs/book.xsl
rd0d9e90 r00f4966 7 7 <!-- $Id$ --> 8 8 9 <!-- NOTE: the base dir (blfs-xml) must be changed to FAKEDIR on the10 final version and set it to the proper dirvia a sed in ./blfs -->9 <!-- NOTE: the base dir (blfs-xml) is set to the proper dir 10 via a sed in ./blfs --> 11 11 <xsl:import href="../blfs-xml/stylesheets/blfs-chunked.xsl"/> 12 12 -
BLFS/libs/func_parser
rd0d9e90 r00f4966 127 127 : <<inline_doc 128 128 function: Create shell scripts of the requested TARGET. 129 input vars: nothing129 input vars: $1 use sudo n/y 130 130 externals: TARGET 131 131 modifies: nothing … … 141 141 echo -en "\n\tGenerating the build scripts ..." 142 142 xsltproc --xinclude --nonet \ 143 --stringparam sudo $SUDO \ 143 144 -o ./scripts/ ../libs/scripts.xsl \ 144 145 $TARGET-index.xml >> xsltproc.log 2>&1 -
BLFS/libs/scripts.xsl
rd0d9e90 r00f4966 9 9 10 10 <!-- XSLT stylesheet to create shell scripts from "linear build" BLFS books. --> 11 12 <!-- Build as user (y) or as root (n)? --> 13 <xsl:param name="sudo" select="y"/> 11 14 12 15 <xsl:template match="/"> … … 345 348 <xsl:template match="screen"> 346 349 <xsl:if test="child::* = userinput and not(@role = 'nodump')"> 347 <xsl:if test="@role = 'root' ">350 <xsl:if test="@role = 'root' and $sudo = 'y'"> 348 351 <xsl:text>sudo sh -c "</xsl:text> 349 352 </xsl:if> 350 353 <xsl:apply-templates select="userinput"/> 351 <xsl:if test="@role = 'root' ">354 <xsl:if test="@role = 'root' and $sudo = 'y'"> 352 355 <xsl:text>"</xsl:text> 353 356 </xsl:if>
Note:
See TracChangeset
for help on using the changeset viewer.