termux-packages/packages/pkgfile/src-update.c.patch
2022-03-13 09:30:03 +09:00

12 lines
199 B
Diff

--- a/src/update.c
+++ b/src/update.c
@@ -360,7 +360,7 @@
tmpdir = getenv("TMPDIR");
if (tmpdir == NULL) {
- tmpdir = "/tmp";
+ tmpdir = "@TERMUX_PREFIX@/tmp";
}
#ifdef O_TMPFILE