2018-09-22 21:47:10 +02:00
|
|
|
diff --git a/lib/kernel/src/os.erl b/lib/kernel/src/os.erl
|
2021-10-27 04:11:46 +02:00
|
|
|
index 96b5da9..e166e89 100644
|
2018-09-22 21:47:10 +02:00
|
|
|
--- a/lib/kernel/src/os.erl
|
|
|
|
+++ b/lib/kernel/src/os.erl
|
2021-10-27 04:11:46 +02:00
|
|
|
@@ -313,7 +313,7 @@ mk_cmd(_,Cmd) ->
|
|
|
|
%% We use an absolute path here because we do not want the path to be
|
|
|
|
%% searched in case a stale NFS handle is somewhere in the path before
|
|
|
|
%% the sh command.
|
2018-09-22 21:47:10 +02:00
|
|
|
- {"/bin/sh -s unix:cmd", [out],
|
|
|
|
+ {"@TERMUX_PREFIX@/bin/sh -s unix:cmd", [out],
|
|
|
|
%% We insert a new line after the command, in case the command
|
|
|
|
%% contains a comment character.
|
|
|
|
%%
|