Skip to content

Commit

Permalink
update check docker compose
Browse files Browse the repository at this point in the history
Signed-off-by: yminer <miner.yang@broadcom.com>
  • Loading branch information
yminer committed Oct 22, 2024
1 parent c14c3db commit c9a0cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function check_docker {
}

function check_dockercompose {
if [! docker compose version] &> /dev/null || [! docker-compose --version] &> /dev/null
if ! [docker compose version &> /dev/null] || ! [docker-compose --version &> /dev/null]
then
error "Need to install docker-compose(1.18.0+) or a docker-compose-plugin (https://docs.docker.com/compose/)by yourself first and run this script again."
exit 1
Expand Down

0 comments on commit c9a0cb1

Please sign in to comment.