Update sed for node foro python3.10 or 3.11

This commit is contained in:
Bruce Dubbs 2022-11-08 19:07:02 -06:00
parent 27ccef2def
commit 5e0cd08b7f

View File

@ -123,10 +123,12 @@
<para>
The <command>configure</command> script for this version of Node.js is
not aware of Python-3.11. If you have installed <xref linkend="python3"/>,
apply the following change (do not apply if you still have Python-3.10):
apply the following change):
</para>
<screen><userinput>sed -i s/10/11/g configure</userinput></screen>
<screen><userinput>sed -e '/=.*exec/a command -v python3.11 >/dev/null &amp;&amp; exec python3.11 "$0" "$@"' \
-e s'/((/((3, 11), (/' \
-i configure</userinput></screen>
<para>
Build <application>Node.js</application> by running the following