diff --git a/hooks/post-checkout b/hooks/post-checkout index 51d9142..876074e 100755 --- a/hooks/post-checkout +++ b/hooks/post-checkout @@ -40,7 +40,7 @@ THREAD_KEY=${BUILDKITE_PLUGIN_HANGOUTS_NOTIFY_THREAD_KEY:=$CURRENT_COMMIT} FAIL=0 ROWS_JSON="none" -if [ $TYPE == 'CARD' ] +if [[ "${TYPE}" == "CARD'" ]] then IFS=, read -r CARD_TITLE CARD_SUBTITLE BUILD_URL <<< "$CARD_DETAILS"