mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: fix default result of os.temp_dir() for termux (#17237)
This commit is contained in:
parent
e76e93d230
commit
954843c486
@ -724,6 +724,9 @@ pub fn temp_dir() string {
|
||||
path = cache_dir()
|
||||
}
|
||||
}
|
||||
$if termux {
|
||||
path = '/data/data/com.termux/files/usr/tmp'
|
||||
}
|
||||
if path == '' {
|
||||
path = '/tmp'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user