diff options
author | Jürg Billeter <j@bitron.ch> | 2018-12-27 22:53:34 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-01-06 18:57:33 +0100 |
commit | f122cfe8d87b7200cc1d804533f9ead5fd0095ac (patch) | |
tree | 6a459e0029ecede77fc5eeced1e88e8e219e80ed | |
parent | ee29f207d497675cfc565151ce22a72f43f7b19f (diff) | |
download | buildstream-f122cfe8d87b7200cc1d804533f9ead5fd0095ac.tar.gz |
_frontend/app.py: Use buildtree for interactive shell on build failure
Fixes: e29aea36 ("Basic options for shell --build to use buildtrees")
-rw-r--r-- | buildstream/_frontend/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/app.py b/buildstream/_frontend/app.py index 96e3c60ae..063ca1ec2 100644 --- a/buildstream/_frontend/app.py +++ b/buildstream/_frontend/app.py @@ -599,7 +599,7 @@ class App(): click.echo("\nDropping into an interactive shell in the failed build sandbox\n", err=True) try: prompt = self.shell_prompt(element) - self.stream.shell(element, Scope.BUILD, prompt, isolate=True) + self.stream.shell(element, Scope.BUILD, prompt, isolate=True, usebuildtree=True) except BstError as e: click.echo("Error while attempting to create interactive shell: {}".format(e), err=True) elif choice == 'log': |