0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-22 15:47:26 +00:00
termux-packages/packages/pkgfile/src-update.cc.patch
Kevin WIlliams 125565f899 upgpkg(main/pkgfile): 22
Signed-off-by: Kevin WIlliams <admin@utermux.dev>
2024-08-22 09:24:23 +08:00

12 lines
204 B
Diff

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