diff --git a/autoninja b/autoninja index bac7c3e611..50ec00d575 100755 --- a/autoninja +++ b/autoninja @@ -11,7 +11,9 @@ export AUTONINJA_BUILD_ID # Execute whatever is printed by autoninja.py. # Also print it to reassure that the right settings are being used. command=$(python "$(dirname -- "$0")/autoninja.py" "$@") -echo "$command" +if [ "$NINJA_SUMMARIZE_BUILD" == "1" ]; then + echo "$command" +fi if eval "$command"; then if [ "$NINJA_SUMMARIZE_BUILD" == "1" ]; then python "$(dirname -- "$0")/post_build_ninja_summary.py" "$@"