BLFS tools: Source /etc/profile in scripts

Since this is not done anymore in envars.conf...
This commit is contained in:
Pierre Labastie 2021-11-08 09:55:46 +01:00
parent 5fd1a98625
commit b0965faf0d

View file

@ -217,6 +217,10 @@ export JH_KEEP_FILES="</xsl:text>
<!-- 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 -->
<xsl:text>unset MAKELEVEL <xsl:text>unset MAKELEVEL
<!-- When installing several packages, and profile or profile.d
has been modified by a previous package, we need to ensure that
the updated profile is used.
-->if [ -r /etc/profile ]; then source /etc/profile; fi
# End of environment</xsl:text> # End of environment</xsl:text>
<xsl:choose> <xsl:choose>