Ignore:
Timestamp:
01/19/2024 09:39:35 PM (3 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
ab4fdfc
Parents:
c8be252
git-author:
Pierre Labastie <pierre.labastie@…> (01/19/2024 09:34:28 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (01/19/2024 09:39:35 PM)
Message:

Remove all "&#" characters and replace with utf-8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/patcheslist.xsl

    rc8be252 ra804944  
    1 <?xml version='1.0' encoding='ISO-8859-1'?>
     1<?xml version='1.0' encoding='UTF-8'?>
    22<!DOCTYPE xsl:stylesheet [
    33 <!ENTITY % general-entities SYSTEM "../general.ent">
     
    2323
    2424  <xsl:template match="/">
    25     <xsl:text>#! /bin/bash&#x0a;&#x0a;</xsl:text>
    26     <xsl:text>function copy
     25    <xsl:text>#! /bin/bash
     26
     27function copy
    2728{
    2829   cp $1 $2 >>copyerrs 2>&amp;1
    29 }&#x0a;&#x0a;</xsl:text>
    30       <!-- Create dest.dir if it don't exist -->
    31     <xsl:text>mkdir -p </xsl:text>
     30}
     31
     32# Create dest.dir if it doesn't exist
     33# Change to it
     34# Remove old patches and possible list of missing patches
     35# Ensure correct ownership
     36
     37mkdir -p </xsl:text>
    3238    <xsl:value-of select="$dest.dir"/>
    33     <xsl:text> &amp;&amp;&#x0a;</xsl:text>
    34     <xsl:text>cd </xsl:text>
     39    <xsl:text> &amp;&amp;
     40cd </xsl:text>
    3541    <xsl:value-of select="$dest.dir"/>
    36     <xsl:text> &amp;&amp;&#x0a;&#x0a;</xsl:text>
    37       <!-- Remove old patches and possible list of missing patches-->
    38     <xsl:text>rm -f *.patch copyerrs &amp;&amp;&#x0a;&#x0a;</xsl:text>
     42    <xsl:text> &amp;&amp;
     43
     44    rm -f *.patch copyerrs &amp;&amp;
     45
     46</xsl:text>
    3947    <xsl:apply-templates/>
    40       <!-- Ensure correct ownership -->
    41     <xsl:text>&#x0a;chgrp lfswww *.patch &amp;&amp;&#x0a;</xsl:text>
    42     <xsl:text>if [ `wc -l copyerrs|sed 's/ *//' |cut -f1 -d' '` -gt 0 ]; then
     48    <xsl:text>
     49chgrp lfswww *.patch &amp;&amp;
     50if [ `wc -l copyerrs|sed 's/ *//' |cut -f1 -d' '` -gt 0 ]; then
    4351  mail -s "Missing BLFS patches" blfs-book@lists.linuxfromscratch.org &lt; copyerrs
    44 fi</xsl:text>
    45     <xsl:text>&#x0a;exit&#x0a;</xsl:text>
     52fi
     53exit</xsl:text>
    4654  </xsl:template>
    4755
     
    100108      </xsl:choose>
    101109      <xsl:value-of select="$patch.name"/>
    102       <xsl:text> . &#x0a;</xsl:text>
     110      <xsl:text> .
     111</xsl:text>
    103112    </xsl:if>
    104113  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.