View | Details | Raw Unified | Return to bug 268098
Collapse All | Expand All

(-)b/www/npm/Makefile (+1 lines)
Lines 1-5 Link Here
1
PORTNAME=	npm
1
PORTNAME=	npm
2
PORTVERSION=	9.1.2
2
PORTVERSION=	9.1.2
3
PORTREVISION=	1
3
CATEGORIES=	www
4
CATEGORIES=	www
4
MASTER_SITES=	LOCAL/sunpoet
5
MASTER_SITES=	LOCAL/sunpoet
5
6
(-)a/www/npm/files/patch-npm-run (-11 lines)
Removed Link Here
1
--- lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js.orig	2022-11-18 17:24:11 UTC
2
+++ lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js
3
@@ -117,7 +117,7 @@ const spawnWithShell = (cmd, args, opts, extra) => {
4
     for (const arg of args) {
5
       script += ` ${escape.sh(arg)}`
6
     }
7
-    realArgs.push('-c', script)
8
+    realArgs.push('-c', '--', script)
9
   }
10
 
11
   return promiseSpawn(command, realArgs, options, extra)

Return to bug 268098