Chris Laplante 9518dc4e35 libkas: make get_build_environ more exception safe
Eliminate manual call to os.remove by using tempfile context manager.

The 'get bb env' script has to be created in a directory (rather than
using a NamedTemporaryFile directly, for instance), since otherwise
you'll get a "Text file busy" error when trying to execute the script.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2020-07-31 11:32:33 +02:00
..
2020-06-17 08:09:14 +02:00
2020-06-17 07:58:40 +02:00
2020-07-24 18:44:45 +02:00
2020-06-17 07:58:40 +02:00
2020-06-17 08:09:14 +02:00