termux-packages/packages/dropbear/sysoptions.h.patch

13 lines
379 B
Diff
Raw Normal View History

diff -uNr dropbear-2018.76/sysoptions.h dropbear-2018.76.mod/sysoptions.h
--- dropbear-2018.76/sysoptions.h 2018-02-27 16:25:12.000000000 +0200
+++ dropbear-2018.76.mod/sysoptions.h 2018-04-21 13:48:41.227075019 +0300
@@ -71,7 +71,7 @@
#define _PATH_TTY "/dev/tty"
-#define _PATH_CP "/bin/cp"
+#define _PATH_CP "@TERMUX_PREFIX@/bin/cp"
#define DROPBEAR_ESCAPE_CHAR '~'