Print the full objtool command line when '--verbose' is given to help
with debugging.

Signed-off-by: Josh Poimboeuf <[email protected]>
---
 scripts/livepatch/klp-build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build
index 48abbe43f1c9..84053e8aadd3 100755
--- a/scripts/livepatch/klp-build
+++ b/scripts/livepatch/klp-build
@@ -681,6 +681,7 @@ diff_objects() {
 
                (
                        cd "$ORIG_DIR"
+                       [[ -v VERBOSE ]] && echo "${cmd[@]}"
                        "${cmd[@]}"                                             
        \
                                1> >(tee -a "$log")                             
        \
                                2> >(tee -a "$log" | "${filter[@]}" >&2) ||     
        \
-- 
2.53.0


Reply via email to