mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
12 lines
329 B
Diff
12 lines
329 B
Diff
--- a/src/common/filename.cpp
|
|
+++ b/src/common/filename.cpp
|
|
@@ -1247,7 +1247,7 @@ wxString wxFileName::GetTempDir()
|
|
else
|
|
{
|
|
#ifdef __UNIX_LIKE__
|
|
- dir = CheckIfDirExists("/tmp");
|
|
+ dir = CheckIfDirExists("@TERMUX_PREFIX@/tmp");
|
|
if ( dir.empty() )
|
|
#endif // __UNIX_LIKE__
|
|
dir = ".";
|