termux-packages/packages/nodejs-lts/lib-child_process.js.patch
2022-03-18 15:24:23 +00:00

13 lines
546 B
Diff

diff '--color=auto' -uNr node-v16.14.2.orig/lib/child_process.js node-v16.14.2/lib/child_process.js
--- node-v16.14.2.orig/lib/child_process.js 2022-03-18 15:06:23.711091188 +0530
+++ node-v16.14.2/lib/child_process.js 2022-03-18 15:08:43.931091134 +0530
@@ -589,7 +589,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];