From 98e85b3a297dcf0c953ccfc29b539d3517dfc09b Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 6 Nov 2023 15:59:12 +0000 Subject: [PATCH] arm/lib/fvp/runner: don't pass '' as cwd Don't pass "" as the cwd as that fails, use None so the cwd doesn't get changed. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/lib/fvp/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm/lib/fvp/runner.py b/meta-arm/lib/fvp/runner.py index 7ca3673d..e7c13585 100644 --- a/meta-arm/lib/fvp/runner.py +++ b/meta-arm/lib/fvp/runner.py @@ -100,7 +100,7 @@ class FVPRunner: env[name] = os.environ[name] # Allow filepath to be relative to fvp configuration file - cwd = os.path.dirname(fvpconf) + cwd = os.path.dirname(fvpconf) or None self._logger.debug(f"FVP call will be executed in working directory: {cwd}") self._logger.debug(f"Constructed FVP call: {shlex_join(cli)}")