0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-22 02:49:37 +00:00
Files
termux-packages/packages/nodejs/test-parallel-test-child-process-exec-env.js.patch
Yaksh Bariya a765ae2ba1 upgpkg(main/nodejs): update to v18.3.0
Also patches for tests have been commited which I had since a while but
never made them public.
2022-06-05 10:54:02 +05:30

12 lines
470 B
Diff

--- ./test/parallel/test-child-process-exec-env.js.orig 2022-06-05 08:57:52.717600637 +0530
+++ ./test/parallel/test-child-process-exec-env.js 2022-06-05 09:02:24.887600533 +0530
@@ -44,7 +44,7 @@
}
if (!isWindows) {
- child = exec('/usr/bin/env', { env: { 'HELLO': 'WORLD' } }, after);
+ child = exec('@TERMUX_PREFIX@/bin/env', { env: { 'HELLO': 'WORLD' } }, after);
} else {
child = exec('set',
{ env: { ...process.env, 'HELLO': 'WORLD' } },