Commit b60ebdbd authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

build: Fix unnecessary shell quotes

Quotes aren't needed when the arguments aren't expanded by the shell.

Now paths with spaces and other nontrivial characters work.
parent 99f062fe
Pipeline #67422 passed with stages
in 20 minutes and 55 seconds
......@@ -34,7 +34,7 @@ if out_path:
i = args.index(out_path)
args.pop(i)['sh', "{}/".format(shlex.quote(source_dir.as_posix())), 'build']['sh', "{}/".format(source_dir.as_posix()), 'build']
+ args,
......@@ -43,7 +43,7 @@ if out_path:
out_basename =
filename = filename or out_basename['cp', '-a',
'./{}/{}'.format(shlex.quote(binary_dir), shlex.quote(filename)),
'./{}/{}'.format(binary_dir, filename),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment