Changeset 5e0cd08


Ignore:
Timestamp:
11/09/2022 01:07:02 AM (18 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
30824f0b
Parents:
27ccef2d
Message:

Update sed for node foro python3.10 or 3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/nodejs.xml

    r27ccef2d r5e0cd08  
    124124      The <command>configure</command> script for this version of Node.js is
    125125      not aware of Python-3.11. If you have installed <xref linkend="python3"/>,
    126       apply the following change (do not apply if you still have Python-3.10):
    127     </para>
    128 
    129 <screen><userinput>sed -i s/10/11/g configure</userinput></screen>
     126      apply the following change):
     127    </para>
     128
     129<screen><userinput>sed -e '/=.*exec/a command -v python3.11 >/dev/null &amp;&amp; exec python3.11 "$0" "$@"' \
     130    -e s'/((/((3, 11), (/'  \
     131    -i configure</userinput></screen>
    130132
    131133    <para>
Note: See TracChangeset for help on using the changeset viewer.