patman: Reset the output directory when it is removed
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:24:07 +0000 (12:24 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:06 +0000 (09:38 -0600)
commit313533018dc175a5552a8ccac9d6bcd780e824df
tree83fc20c33ed4a82686e875192f7806aa01e80822
parenteb0f4a4cb40264a90a91e10e3ec00d1e0da7fb66
patman: Reset the output directory when it is removed

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@chromium.org>
tools/patman/tools.py