termux-packages/packages/nodejs-lts/lib-child_process.js.patch

13 lines
546 B
Diff
Raw Normal View History

2022-03-18 10:40:36 +01:00
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 @@
2017-01-09 23:30:11 +01:00
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];