0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 20:12:26 +00:00
termux-packages/packages/dart/sdk-runtime-bin-directory_linux.cc.patch
2024-11-09 00:36:12 +08:00

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