diff --git a/build-locally.sh b/build-locally.sh index cbdf0a4..7763e9f 100644 --- a/build-locally.sh +++ b/build-locally.sh @@ -6,7 +6,7 @@ PURPLEBOLD="$(tput setf 5 bold)" #Checks if image ubuntu already exists: IMAGEEXISTS=true -if [[ "$(docker image inspect ubuntu >/dev/null 2>&1 && echo true || echo false)" = "false" ]]; then +if [[ "$(docker image inspect ubuntu >/dev/null 2>&1 && echo true || echo false)" == "false" ]]; then IMAGEEXISTS=false fi