chiark / gitweb /
libssh: fix path to file 'ssh_config'
[termux-packages] / packages / libssh / fix-ssh_config-path.patch
1 diff -uNr libssh-0.7.5/src/options.c libssh-0.7.5.mod/src/options.c
2 --- libssh-0.7.5/src/options.c  2017-04-13 17:33:04.000000000 +0300
3 +++ libssh-0.7.5.mod/src/options.c      2017-09-12 11:16:10.212992453 +0300
4 @@ -1232,7 +1232,7 @@
5        goto out;
6    }
7    if (filename == NULL) {
8 -      r = ssh_config_parse_file(session, "/etc/ssh/ssh_config");
9 +      r = ssh_config_parse_file(session, "@TERMUX_PREFIX@/etc/ssh/ssh_config");
10    }
11  
12  out: