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:
@ -724,6 +724,9 @@ pub fn temp_dir() string {
|
|||||||
path = cache_dir()
|
path = cache_dir()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$if termux {
|
||||||
|
path = '/data/data/com.termux/files/usr/tmp'
|
||||||
|
}
|
||||||
if path == '' {
|
if path == '' {
|
||||||
path = '/tmp'
|
path = '/tmp'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user