Changeset 3fa4147 for BLFS/xsl


Ignore:
Timestamp:
03/19/2023 09:15:18 AM (16 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
0a19439
Parents:
6ac0d96
Message:

outputpkgdest: don't mix make and qmake

For outputting DESTDIR=, we need to test whether the text contains
"make". But when it contains "qmake" (or any different word containing
"make" but not exactly "make), we don't want to output anything more
than the text. So strengthen the test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    r6ac0d96 r3fa4147  
    945945    <xsl:param name="outputstring" select="'foo'"/>
    946946    <xsl:choose>
    947       <xsl:when test="contains($outputstring,'make ')">
     947      <xsl:when test="contains(normalize-space($outputstring),' make ') or
     948                      starts-with($outputstring, 'make ')">
    948949        <xsl:choose>
    949950          <xsl:when test="not(starts-with($outputstring,'make'))">
Note: See TracChangeset for help on using the changeset viewer.