termux-packages/packages/nodejs/lib-child_process.js.patch
2022-03-27 04:35:40 +00:00

13 lines
542 B
Diff

diff '--color=auto' -uNr node-v17.8.0.orig/lib/child_process.js node-v17.8.0/lib/child_process.js
--- node-v17.8.0.orig/lib/child_process.js 2022-03-26 22:11:04.095459285 +0530
+++ node-v17.8.0/lib/child_process.js 2022-03-26 22:12:16.905459258 +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];