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

12 lines
231 B
Diff
Raw Normal View History

2022-02-22 15:13:51 +01:00
--- a/src/sysdir.c
+++ b/src/sysdir.c
@@ -33,7 +33,7 @@
#ifdef GIT_WIN32
2022-02-22 15:13:51 +01:00
return git_win32__find_system_dirs(out, "etc");
#else
2022-02-22 15:13:51 +01:00
- return git_str_sets(out, "/etc");
+ return git_str_sets(out, "@TERMUX_PREFIX@/etc");
#endif
}