diff options
-rwxr-xr-x | util/presubmit_check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/presubmit_check.sh b/util/presubmit_check.sh index a0b1488ccd..0ba4776473 100755 --- a/util/presubmit_check.sh +++ b/util/presubmit_check.sh @@ -26,7 +26,7 @@ if [[ ! -e util/ec3po/.tests-passed ]] && [[ -n "${ec3po_files}" ]]; then fi changed_ec3po_files=$(find ${ec3po_files} -newer util/ec3po/.tests-passed) -if [[ -n ${changed_ec3po_files} ]]; then +if [[ -n "${changed_ec3po_files}" ]] && [[ -n "${ec3po_files}" ]]; then echo "Files have changed since last time EC-3PO unit tests passed:" echo "${changed_ec3po_files}" | sed -e 's/^/ /' echo 'Please run "util/ec3po/run_tests.sh".' |