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

builder: make repl work if path contains spaces (#8550)

This commit is contained in:
Ekopalypse 2021-02-04 18:18:18 +01:00 committed by GitHub
parent a0cbe48977
commit 856246c858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -628,7 +628,7 @@ fn (mut v Builder) cc() {
} }
// //
os.chdir(vdir) os.chdir(vdir)
cmd := '$ccompiler @$response_file' cmd := '$ccompiler "@$response_file"'
tried_compilation_commands << cmd tried_compilation_commands << cmd
v.show_cc(cmd, response_file, response_file_content) v.show_cc(cmd, response_file, response_file_content)
// Run // Run