mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-31 20:12:26 +00:00
12 lines
341 B
Diff
12 lines
341 B
Diff
--- ./sdk/runtime/bin/directory_linux.cc
|
|
+++ ./sdk/runtime/bin/directory_linux.cc
|
|
@@ -425,7 +425,7 @@ const char* Directory::SystemTemp(Namespace* namespc) {
|
|
}
|
|
if (temp_dir == nullptr) {
|
|
#if defined(DART_HOST_OS_ANDROID)
|
|
- temp_dir = "/data/local/tmp";
|
|
+ temp_dir = "@TERMUX_PREFIX@/tmp";
|
|
#else
|
|
temp_dir = "/tmp";
|
|
#endif
|