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

12 lines
421 B
Diff
Raw Normal View History

--- ./lib/child_process.js 2021-06-03 07:15:32.000000000 +0530
+++ ./lib/child_process.js.mod 2021-06-18 20:32:47.215642156 +0530
@@ -520,7 +520,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];