mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: skip copying directories in v build-tools
(fix ##17437) (#18503)
This commit is contained in:
parent
4485f1ca1e
commit
b93e00ae6b
@ -64,6 +64,9 @@ fn main() {
|
||||
os.mv_by_cp(tpath, os.join_path(tfolder, tname, texe)) or { panic(err) }
|
||||
continue
|
||||
}
|
||||
if os.is_dir(tpath) {
|
||||
continue
|
||||
}
|
||||
target_path := os.join_path(tfolder, texe)
|
||||
os.mv_by_cp(tpath, target_path) or {
|
||||
emsg := err.msg()
|
||||
|
Loading…
Reference in New Issue
Block a user