Changeset 610a5c4 for BLFS/xsl


Ignore:
Timestamp:
11/06/2021 02:55:03 PM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, legacy, trunk
Children:
e25788e
Parents:
59c4761
git-author:
Pierre Labastie <pierre.labastie@…> (11/06/2021 02:50:10 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (11/06/2021 02:55:03 PM)
Message:

Have install commands use the right PATH and exit if error

Hopefully the present commit fixes those problems:

  • use sh -e instead of sh
  • set PATH to $PATH (which will expand to the PATH before entering sudo) before the install commands.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/process-install.xsl

    r59c4761 r610a5c4  
    485485    <xsl:if test="$sudo='y'">
    486486      <xsl:text>
    487 sudo -E sh &lt;&lt; ROOT_EOF</xsl:text>
     487sudo -E sh -e &lt;&lt; ROOT_EOF
     488PATH=$PATH:/usr/sbin</xsl:text>
    488489    </xsl:if>
    489490  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.