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.
This commit is contained in:
parent
0495e57e0a
commit
1870b56894
1 changed files with 6 additions and 1 deletions
|
@ -215,8 +215,13 @@ export JH_KEEP_FILES="</xsl:text>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<!-- Unsetting MAKELEVEL is needed for some packages which assume that
|
<!-- Unsetting MAKELEVEL is needed for some packages which assume that
|
||||||
their top level Makefile is at level zero -->
|
their top level Makefile is at level zero.
|
||||||
|
Some packages (cmake) use MAKE_TERMOUT and MAKE_TERMERR to determine
|
||||||
|
whether they are talking to a terminal.
|
||||||
|
In our case, stdout/stderr are always redirected, so unset them.-->
|
||||||
<xsl:text>unset MAKELEVEL
|
<xsl:text>unset MAKELEVEL
|
||||||
|
unset MAKE_TERMOUT
|
||||||
|
unset MAKE_TERMERR
|
||||||
<!-- When installing several packages, and profile or profile.d
|
<!-- When installing several packages, and profile or profile.d
|
||||||
has been modified by a previous package, we need to ensure that
|
has been modified by a previous package, we need to ensure that
|
||||||
the updated profile is used.
|
the updated profile is used.
|
||||||
|
|
Reference in a new issue