flex: Patch Makefile.in instead of Makefile.am
[termux-packages] / packages / lftp / src-commands.cc.patch
1 diff -uNr lftp-4.8.3/src/commands.cc lftp-4.8.3.mod/src/commands.cc
2 --- lftp-4.8.3/src/commands.cc 2017-08-10 13:17:10.000000000 +0300
3 +++ lftp-4.8.3.mod/src/commands.cc 2017-12-19 16:59:50.095958249 +0200
4 @@ -3006,7 +3006,7 @@
5
6 xstring cmd0("exec ${EDITOR:-vi} ");
7 cmd0.append(shell_encode(lftp_bookmarks.GetFilePath()));
8 - xstring cmd1("/bin/sh -c ");
9 + xstring cmd1("@TERMUX_PREFIX@/bin/sh -c ");
10 cmd1.append(shell_encode(cmd0));
11
12 parent->PrependCmd(xstring::get_tmp("shell ").append_quoted(cmd1));