diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2018-06-06 09:48:04 +0200 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2018-06-12 09:02:24 +0200 |
commit | 656b7b09786c827dc5e9e9ce6f2c7c35dce601e2 (patch) | |
tree | e6cb8efb22b2e39f3840983b932a07463c2f6de2 | |
parent | Fix bsp_init hook. (diff) | |
download | rtems_waf-656b7b09786c827dc5e9e9ce6f2c7c35dce601e2.tar.bz2 |
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.
-rw-r--r-- | rtems.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -579,6 +579,8 @@ def output_command_line(): else: cmdstr = ' '.join(cmd) Logs.info('(%d) %s' % (len(cmdstr), cmdstr)) # here is the change + if not isinstance(kw['cwd'], str): + kw['cwd'] = str(kw['cwd']) Logs.debug('runner_env: kw=%s' % kw) try: if self.logger: |