termux-packages/packages/libgit2/fix-etc-dir-path.patch

12 lines
231 B
Diff

--- a/src/sysdir.c
+++ b/src/sysdir.c
@@ -33,7 +33,7 @@
#ifdef GIT_WIN32
return git_win32__find_system_dirs(out, "etc");
#else
- return git_str_sets(out, "/etc");
+ return git_str_sets(out, "@TERMUX_PREFIX@/etc");
#endif
}