termux-packages/packages/libssh/fix-ssh_config-path.patch
2017-09-12 13:47:50 +02:00

13 lines
437 B
Diff

diff -uNr libssh-0.7.5/src/options.c libssh-0.7.5.mod/src/options.c
--- libssh-0.7.5/src/options.c 2017-04-13 17:33:04.000000000 +0300
+++ libssh-0.7.5.mod/src/options.c 2017-09-12 11:16:10.212992453 +0300
@@ -1232,7 +1232,7 @@
goto out;
}
if (filename == NULL) {
- r = ssh_config_parse_file(session, "/etc/ssh/ssh_config");
+ r = ssh_config_parse_file(session, "@TERMUX_PREFIX@/etc/ssh/ssh_config");
}
out: