termux-packages/packages/uwsgi/plugins-corerouter-corerouter.c.patch
2021-12-10 22:37:54 +02:00

12 lines
287 B
Diff

--- a/plugins/corerouter/corerouter.c
+++ b/plugins/corerouter/corerouter.c
@@ -722,7 +722,7 @@
if (!ucr->pb_base_dir) {
ucr->pb_base_dir = getenv("TMPDIR");
if (!ucr->pb_base_dir)
- ucr->pb_base_dir = "/tmp";
+ ucr->pb_base_dir = "@TERMUX_PREFIX@/tmp";
}
int nevents;