12 lines
317 B
Diff
12 lines
317 B
Diff
|
--- a/cpp/src/arrow/util/io_util.cc
|
||
|
+++ b/cpp/src/arrow/util/io_util.cc
|
||
|
@@ -1448,7 +1448,7 @@
|
||
|
#else
|
||
|
selectors = {{"TMPDIR", ""}, {"TMP", ""}, {"TEMP", ""}, {"TEMPDIR", ""}};
|
||
|
#ifdef __ANDROID__
|
||
|
- fallback_tmp = "/data/local/tmp";
|
||
|
+ fallback_tmp = "@TERMUX_PREFIX@/tmp";
|
||
|
#else
|
||
|
fallback_tmp = "/tmp";
|
||
|
#endif
|