0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/root-packages/openvpn/src-openvpn-options.c.patch
2022-04-18 14:31:15 +05:30

13 lines
456 B
Diff

diff -uNr openvpn-2.4.7/src/openvpn/options.c openvpn-2.4.7.mod/src/openvpn/options.c
--- openvpn-2.4.7/src/openvpn/options.c 2019-02-20 14:28:23.000000000 +0200
+++ openvpn-2.4.7.mod/src/openvpn/options.c 2019-09-18 14:41:05.337638310 +0300
@@ -898,7 +898,7 @@
o->tmp_dir = getenv("TMPDIR");
if (!o->tmp_dir)
{
- o->tmp_dir = "/tmp";
+ o->tmp_dir = "@TERMUX_PREFIX@/tmp";
}
#endif /* _WIN32 */
#endif /* P2MP_SERVER */