Changeset a7691f0 in rtems-source-builder


Ignore:
Timestamp:
Feb 25, 2016, 3:29:00 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
e0fab0a
Parents:
773ab3f
git-author:
Chris Johns <chrisj@…> (02/25/16 03:29:00)
git-committer:
Chris Johns <chrisj@…> (02/25/16 03:30:36)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/setbuilder.py

    r773ab3f ra7691f0  
    199199            if not self.opts.dry_run():
    200200                tmproot = _build.config.expand('%{_tmproot}')
    201                 cmd = _build.config.expand("'cd " + tmproot + \
    202                                                " && %{__tar} -cf - . | %{__bzip2} > " + tar + "'")
     201                cmd = _build.config.expand('"cd ' + tmproot + \
     202                                               ' && %{__tar} -cf - . | %{__bzip2} > ' + tar + '"')
    203203                _build.run(cmd, shell_opts = '-c', cwd = tmproot)
    204204
Note: See TracChangeset for help on using the changeset viewer.