mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 13:03:31 +00:00
12 lines
326 B
Diff
12 lines
326 B
Diff
--- a/src/tools/pathTools.cpp
|
|
+++ b/src/tools/pathTools.cpp
|
|
@@ -343,7 +343,7 @@
|
|
_wmkdir(ctmp);
|
|
return WideToUtf8(ctmp);
|
|
#else
|
|
- char _template_array[] = {"/tmp/libkiwix_XXXXXX"};
|
|
+ char _template_array[] = {"@TERMUX_PREFIX@/tmp/libkiwix_XXXXXX"};
|
|
std::string dir = mkdtemp(_template_array);
|
|
return dir;
|
|
#endif
|