Changeset 656b7b0 in rtems_waf


Ignore:
Timestamp:
Jun 6, 2018, 7:48:04 AM (11 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
master
Children:
c0d52d5
Parents:
f490cd3
git-author:
Christian Mauderer <christian.mauderer@…> (06/06/18 07:48:04)
git-committer:
Christian Mauderer <christian.mauderer@…> (06/12/18 07:02:24)
Message:

Fix --show-commands.

In the current version of libbsd, if the --show-commands option is used,
the cwd is passed as a Nod3. Popen does not work with that. Therefore
create a string from cwd if it isn't already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtems.py

    rf490cd3 r656b7b0  
    580580            cmdstr = ' '.join(cmd)
    581581            Logs.info('(%d) %s' % (len(cmdstr), cmdstr)) # here is the change
     582        if not isinstance(kw['cwd'], str):
     583            kw['cwd'] = str(kw['cwd'])
    582584        Logs.debug('runner_env: kw=%s' % kw)
    583585        try:
Note: See TracChangeset for help on using the changeset viewer.