termux-packages/packages/erlang/prefix.patch

14 lines
561 B
Diff
Raw Normal View History

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
--- 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.
- {"/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.
%%