0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-02 19:15:59 +00:00
termux-packages/packages/golang/src-os-file_unix.go.patch

13 lines
381 B
Diff

diff -uNr go/src/os/file_unix.go go.mod/src/os/file_unix.go
--- go/src/os/file_unix.go 2023-04-26 18:32:02.000000000 +0300
+++ go.mod/src/os/file_unix.go 2023-05-21 19:08:51.516090953 +0300
@@ -339,7 +339,7 @@
dir := Getenv("TMPDIR")
if dir == "" {
if runtime.GOOS == "android" {
- dir = "/data/local/tmp"
+ dir = "@TERMUX_PREFIX@/tmp"
} else {
dir = "/tmp"
}