1
0
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:
MatejMagat305 2023-02-06 23:07:35 +01:00 committed by GitHub
parent e76e93d230
commit 954843c486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
}