binman: Use expanduser instead of HOME
authorSimon Glass <sjg@chromium.org>
Wed, 19 Apr 2023 21:21:14 +0000 (15:21 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Apr 2023 17:49:00 +0000 (11:49 -0600)
commitad827e15b22ad370b5e548c12f58efcedf657740
tree85ac58bda845007817eb82800516b02c0f30a753
parentca031c082700631264d1e058f2f705438c2be8c2
binman: Use expanduser instead of HOME

There may not be a HOME environment variable, so use the os.expanduser()
function instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/cmdline.py