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

13 lines
542 B
Diff
Raw Normal View History

2022-03-11 16:03:32 +01:00
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 @@
2016-05-19 01:23:01 +02: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];