From d754da16578755667e81e3c5754474bb545c2af3 Mon Sep 17 00:00:00 2001 From: Artem Shelkovnikov Date: Mon, 13 Jan 2025 12:27:40 +0400 Subject: [PATCH] Change to bash or style --- .buildkite/shared.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/shared.sh b/.buildkite/shared.sh index 8fa959a6a..e00381868 100644 --- a/.buildkite/shared.sh +++ b/.buildkite/shared.sh @@ -28,7 +28,7 @@ retry() { } is_pr() { - if [ -z "$BUILDKITE_PULL_REQUEST" ] || [ "$BUILDKITE_PULL_REQUEST" = "false"]; then + if [[ -z "$BUILDKITE_PULL_REQUEST" || "$BUILDKITE_PULL_REQUEST" = "false" ]]; then return 1 # false else return 0 # true