Fixed wrong comparision.

This commit is contained in:
2025-08-14 21:38:11 +02:00
parent ad637e696e
commit 8e7ab71054
2 changed files with 4 additions and 6 deletions

View File

@@ -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"