0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/nodejs-lts/lib-child_process.js.patch
2023-01-10 21:02:16 +05:30

13 lines
542 B
Diff

diff '--color=auto' -uNr node-v18.0.0.orig/lib/child_process.js node-v18.0.0/lib/child_process.js
--- node-v18.0.0.orig/lib/child_process.js 2022-04-21 15:15:48.551869784 +0530
+++ node-v18.0.0/lib/child_process.js 2022-04-21 15:46:39.467175097 +0530
@@ -578,7 +578,7 @@
if (typeof options.shell === 'string')
file = options.shell;
else if (process.platform === 'android')
- file = '/system/bin/sh';
+ file = '@TERMUX_PREFIX@/bin/sh';
else
file = '/bin/sh';
args = ['-c', command];