Fixed wrong comparision.
This commit is contained in:
@@ -5,10 +5,9 @@ if [ -z "$AZURE_CLIENT_ID" ] || [ -z "$AZURE_TENANT_ID" ] || [ -z "$AZURE_CLIENT
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$(command -v docker)" = "docker" ]
|
||||
then
|
||||
if [ "$(basename $(command -v docker))" = "docker" ]; then
|
||||
CMD="docker"
|
||||
elif [ "$(command -v podman)" = "podman" ]; then
|
||||
elif [ "$(basename $(command -v podman))" = "podman" ]; then
|
||||
CMD="podman"
|
||||
else
|
||||
echo "No suitable container tool found"
|
||||
|
||||
Reference in New Issue
Block a user