termux-packages/packages/libduckdb/tools-shell-shell.c.patch
2021-12-28 17:58:46 +02:00

12 lines
272 B
Diff

--- a/tools/shell/shell.c
+++ b/tools/shell/shell.c
@@ -15301,7 +15301,7 @@
#ifdef _WIN32
zTemp = "\\tmp";
#else
- zTemp = "/tmp";
+ zTemp = "@TERMUX_PREFIX@/tmp";
#endif
}
p->zTempFile = sqlite3_mprintf("%s/temp%llx.%s", zTemp, r, zSuffix);