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).
This commit is contained in:
parent
f98bc791e6
commit
bbca329576
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue