termux-packages/packages/libduckdb/tools-shell-shell.c.patch

12 lines
272 B
Diff
Raw Normal View History

2021-12-23 23:54:45 +01:00
--- 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);