Check that lsb_release is available before using it

It is not present in e.g. sid-slim image used for wxMSW cross-build CI
workflow.
This commit is contained in:
Vadim Zeitlin 2021-06-27 15:07:23 +02:00
parent b9fb8358b3
commit 0bb6f80a1e

View File

@ -16,7 +16,9 @@ httpbin_launch() {
case "$(uname -s)" in
Linux)
if command -v lsb_release > /dev/null; then
dist_codename=$(lsb_release --codename --short)
fi
;;
Darwin)