At present outdir remains set ever after the output directory has been removed. Fix this to avoid trying to access it when it is not present. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/patman/tools.py | 2 ++ 1 file changed, 2 insertions(+) Applied to u-boot-dm, thanks!