Print the full objtool command line when '--verbose' is given to help with debugging.
Showing the changes to scripts/livepatch (1 of 1 file). Show all
Unified · Split
| @@ -681,6 +681,7 @@ diff_objects() { · 680 unmodified lines | ||
| 681 | 681 | |
| 682 | 682 | ( |
| 683 | 683 | cd "$ORIG_DIR" |
| 684 | + [[ -v VERBOSE ]] && echo "cd $ORIG_DIR && ${cmd[*]}" | |
| 684 | 685 | "${cmd[@]}" \ |
| 685 | 686 | 1> >(tee -a "$log") \ |
| 686 | 687 | 2> >(tee -a "$log" | "${filter[@]}" >&2) || \ |