termux-packages/packages/nodejs/lib-child_process.js.patch
2022-03-12 07:59:50 +00:00

13 lines
542 B
Diff

diff '--color=auto' -uNr node-v17.7.1.orig/lib/child_process.js node-v17.7.1/lib/child_process.js
--- node-v17.7.1.orig/lib/child_process.js 2022-03-11 20:20:44.777755316 +0530
+++ node-v17.7.1/lib/child_process.js 2022-03-11 20:24:38.277755227 +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];