diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 069ffc46232..83b28a5a1bb 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -277,8 +277,7 @@ function hbaseprotoc_rebuild return 0 fi - verify_needed_test hbaseprotoc - if [[ $? == 0 ]]; then + if ! verify_needed_test hbaseprotoc; then return 0 fi @@ -286,7 +285,6 @@ function hbaseprotoc_rebuild start_clock - personality_modules patch hbaseprotoc modules_workers patch hbaseprotoc compile -DskipTests -Pcompile-protobuf -X -DHBasePatchProcess @@ -349,8 +347,7 @@ function hbaseanti_patchfile return 0 fi - verify_needed_test hbaseanti - if [[ $? == 0 ]]; then + if ! verify_needed_test hbaseanti; then return 0 fi