Skip to content

Commit

Permalink
tools: skip copying directories in v build-tools (fix ##17437) (#18503
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lcheylus committed Jun 21, 2023
1 parent 4485f1c commit b93e00a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/tools/vbuild-tools.v
Expand Up @@ -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()
Expand Down

0 comments on commit b93e00a

Please sign in to comment.