Merge pull request #133 from godotengine/setup-check-podman-without-which

setup: Check for `podman` with `command` instead of `which`
This commit is contained in:
Rémi Verschelde 2023-11-11 20:14:23 +01:00 committed by GitHub
commit 2d1a970abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -e
podman=`which podman || true`
podman=`command -v podman`
if [ -z "$podman" ]; then
echo "podman needs to be in PATH for this script to work."