1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix a typo

This commit is contained in:
Alexander Medvednikov 2019-07-01 17:29:26 +02:00
parent 235a7ecd7f
commit d09758f723

View File

@ -646,7 +646,7 @@ fn (v &V) v_files_from_dir(dir string) []string {
continue continue
} }
if file.ends_with('_mac.v') && v.os != MAC { if file.ends_with('_mac.v') && v.os != MAC {
lin_file := file.replace('_mav.v', '_lin.v') lin_file := file.replace('_mac.v', '_lin.v')
// println('lin_file="$lin_file"') // println('lin_file="$lin_file"')
// If there are both _mav.v and _lin.v, don't use _mav.v // If there are both _mav.v and _lin.v, don't use _mav.v
if os.file_exists('$dir/$lin_file') { if os.file_exists('$dir/$lin_file') {