aboutsummaryrefslogtreecommitdiff
path: root/extra/nodejs/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-06-25 12:37:31 +0200
committerCem Keylan <cem@ckyln.com>2022-06-25 12:37:31 +0200
commit8c4770ab4986b3c36aeeebdcb11ecd588468975a (patch)
tree7b42855acec022a3440b87545a60cfd2039f336e /extra/nodejs/build
parentd41ef719163ddb944e7f1e833215ceb6d8891a64 (diff)
downloadrepository-8c4770ab4986b3c36aeeebdcb11ecd588468975a.tar.gz
nodejs: bump to 18.4.0
Diffstat (limited to 'extra/nodejs/build')
-rwxr-xr-xextra/nodejs/build6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/nodejs/build b/extra/nodejs/build
index 089684a9..10458be2 100755
--- a/extra/nodejs/build
+++ b/extra/nodejs/build
@@ -13,3 +13,9 @@ clsed '/^subninja.*openssl-fipsmodule/d' out/Release/build.ninja
ninja -C out/Release
tools/install.py install "$1" /usr
+
+# Change name of file that has a name longer than the value allowed by the ustar
+# format.
+cd "$1/usr/lib/node_modules/corepack/dist"
+mv vendors-_yarn*.js vendors-_yarn_berry_cache.js
+clsed '/yarn_berry/s/vendors-[^"]*/vendors-_yarn_berry_cache/' corepack.js