From 5e0cd08b7fad47daa3c40741995b562ab184bae7 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 8 Nov 2022 19:07:02 -0600 Subject: [PATCH] Update sed for node foro python3.10 or 3.11 --- general/genlib/nodejs.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/general/genlib/nodejs.xml b/general/genlib/nodejs.xml index a8b17d8891..22d780b5d0 100644 --- a/general/genlib/nodejs.xml +++ b/general/genlib/nodejs.xml @@ -123,10 +123,12 @@ The configure script for this version of Node.js is not aware of Python-3.11. If you have installed , - apply the following change (do not apply if you still have Python-3.10): + apply the following change): -sed -i s/10/11/g configure +sed -e '/=.*exec/a command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"' \ + -e s'/((/((3, 11), (/' \ + -i configure Build Node.js by running the following