mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Wrap the tar command in double quotes for Windows cmd.exe.
Windows cmd.exe does not support a single quote for options. Change to a double quote. Closes #2615.
This commit is contained in:
parent
773ab3fe06
commit
a7691f0a38
@ -198,8 +198,8 @@ class buildset:
|
||||
log.notice('tarball: %s' % (os.path.relpath(path.host(tar))))
|
||||
if not self.opts.dry_run():
|
||||
tmproot = _build.config.expand('%{_tmproot}')
|
||||
cmd = _build.config.expand("'cd " + tmproot + \
|
||||
" && %{__tar} -cf - . | %{__bzip2} > " + tar + "'")
|
||||
cmd = _build.config.expand('"cd ' + tmproot + \
|
||||
' && %{__tar} -cf - . | %{__bzip2} > ' + tar + '"')
|
||||
_build.run(cmd, shell_opts = '-c', cwd = tmproot)
|
||||
|
||||
def parse(self, bset):
|
||||
|
Loading…
x
Reference in New Issue
Block a user