From bbca329576836dc445f5caa3310d221747750110 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 15 Jan 2018 22:42:07 -0500 Subject: [PATCH] catalyst-auto: log the command in the log file itself This should make it clear in each log file what is being run, especially when a phase is run more than once (like post_build). --- tools/catalyst-auto | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 756bc515..b7036937 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -70,6 +70,7 @@ run_cmd() { local logfile="$1" shift + echo "*** Running command: $*" &>> "${logfile}" if [ $verbose = 2 ]; then echo "*** Running command: $*" "$@" 2>&1 | tee -a "${logfile}"