BLFS tools: Source /etc/profile in scripts
Since this is not done anymore in envars.conf...
This commit is contained in:
parent
5fd1a98625
commit
b0965faf0d
1 changed files with 4 additions and 0 deletions
|
@ -217,6 +217,10 @@ export JH_KEEP_FILES="</xsl:text>
|
|||
<!-- Unsetting MAKELEVEL is needed for some packages which assume that
|
||||
their top level Makefile is at level zero -->
|
||||
<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>
|
||||
|
||||
<xsl:choose>
|
||||
|
|
Reference in a new issue