From 7c4739add912b9863c0968a181a95baed0590250 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Fri, 11 Jun 2021 16:53:28 +0200 Subject: [PATCH] [infra][base-builder] Clarify error messages in `compile` (#5912) @jonathanmetzman --- infra/base-images/base-builder/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index eeb160fe1..cca164547 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -28,7 +28,7 @@ if [ "$FUZZING_LANGUAGE" = "jvm" ]; then exit 1 fi if [ "$SANITIZER" != "address" ] && [ "$SANITIZER" != "coverage" ] && [ "$SANITIZER" != "undefined" ]; then - echo "ERROR: JVM projects can be fuzzed with AddressSanitizer and UndefinedBehaviorSanitizer only." + echo "ERROR: JVM projects can be fuzzed with AddressSanitizer or UndefinedBehaviorSanitizer only." exit 1 fi if [ "$ARCHITECTURE" != "x86_64" ]; then @@ -43,7 +43,7 @@ if [ "$FUZZING_LANGUAGE" = "python" ]; then exit 1 fi if [ "$SANITIZER" != "address" ] && [ "$SANITIZER" != "undefined" ]; then - echo "ERROR: Python projects can be fuzzed with AddressSanitizer and UndefinedBehaviorSanitizer only." + echo "ERROR: Python projects can be fuzzed with AddressSanitizer or UndefinedBehaviorSanitizer only." exit 1 fi if [ "$ARCHITECTURE" != "x86_64" ]; then