diff -u -r ../lftp-4.8.0/src/SysCmdJob.cc ./src/SysCmdJob.cc
--- ../lftp-4.8.0/src/SysCmdJob.cc	2013-03-19 14:02:12.000000000 +0100
+++ ./src/SysCmdJob.cc	2017-08-20 22:05:45.452393625 +0200
@@ -54,7 +54,7 @@
 
    const char *shell=getenv("SHELL");
    if(!shell)
-      shell="/bin/sh";
+      shell="@TERMUX_PREFIX@/bin/sh";
 
    ProcWait::Signal(false);
 
