Changeset 1870b56 for BLFS/xsl


Ignore:
Timestamp:
11/21/2021 06:23:11 PM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, legacy, trunk
Children:
eec87db
Parents:
0495e57e
git-author:
Pierre Labastie <pierre.labastie@…> (11/14/2021 02:18:38 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (11/21/2021 06:23:11 PM)
Message:

Ensure that MAKE_TERM(OUT|ERR) are unset

Some packages use those variables to determine whether they are
talking to a terminal, and issue color codes that mess our
logs if the top level make has been launched from a terminal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    r0495e57e r1870b56  
    216216     </xsl:choose>
    217217<!-- Unsetting MAKELEVEL is needed for some packages which assume that
    218      their top level Makefile is at level zero -->
     218     their top level Makefile is at level zero.
     219     Some packages (cmake) use MAKE_TERMOUT and MAKE_TERMERR to determine
     220     whether they are talking to a terminal.
     221     In our case, stdout/stderr are always redirected, so unset them.-->
    219222     <xsl:text>unset MAKELEVEL
     223unset MAKE_TERMOUT
     224unset MAKE_TERMERR
    220225<!-- When installing several packages, and profile or profile.d
    221226     has been modified by a previous package, we need to ensure that
Note: See TracChangeset for help on using the changeset viewer.