tools: rmboard.py: Fix conversion from run_pipe to new helper
authorTom Rini <trini@konsulko.com>
Fri, 20 Jun 2025 16:25:02 +0000 (10:25 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jun 2025 16:02:19 +0000 (10:02 -0600)
commitadb6e0bad69dc6beb233576ada1ec8de5f4bde65
treee87b375ec597ea9ce8065ef280f64862ddbbdf6a
parent95d303f7e56688fde6e50cb0a49e8cbd140b2fb2
tools: rmboard.py: Fix conversion from run_pipe to new helper

When this utility was converted from run_pipe and to the new output
helper, two problems were introduced. First, the conversion for calling
"git rm -f" wasn't correct. Change this to match the other conversions.
Second, the final call we do we need to construct the list because we
print that command for the user to use to inspect remaining references.

Fixes: 3d094ce28a22 ("u_boot_pylib: Add a function to run a single command")
Signed-off-by: Tom Rini <trini@konsulko.com>
tools/rmboard.py