summaryrefslogtreecommitdiff
path: root/round-robin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'round-robin.sh')
-rw-r--r--round-robin.sh17
1 files changed, 2 insertions, 15 deletions
diff --git a/round-robin.sh b/round-robin.sh
index e1fa13e7..957ce44c 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -248,11 +248,6 @@ build_abe ()
set -euf -o pipefail
local component="$1"
- local action_type="build"
-
- if [ x"${2-}" = x"check" ]; then
- action_type="check"
- fi
local project stage action check
check=false
@@ -260,16 +255,8 @@ build_abe ()
# Check if component starts with an action (eg. "check")
case "$component" in
check_*)
- component=${component#check_}
- if [ x$action_type = x"check" ]; then
- check=true
- fi
- ;;
- *)
- # For non-check configs, action_type=="check" should be nop
- if [ x$action_type = x"check" ]; then
- return
- fi
+ component="${component#check_}"
+ check=true
;;
esac