You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
364 B
15 lines
364 B
--- ../go/src/os/file_unix.go 2015-08-06 00:36:35.000000000 -0400
|
|
+++ ./src/os/file_unix.go 2015-08-14 03:28:11.634760646 -0400
|
|
@@ -329,11 +329,7 @@
|
|
func TempDir() string {
|
|
dir := Getenv("TMPDIR")
|
|
if dir == "" {
|
|
- if runtime.GOOS == "android" {
|
|
- dir = "/data/local/tmp"
|
|
- } else {
|
|
- dir = "/tmp"
|
|
- }
|
|
+ dir = "@TERMUX_PREFIX@/tmp"
|
|
}
|
|
return dir
|
|
}
|
|
|