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:
parent
b9fb8358b3
commit
0bb6f80a1e
@ -16,7 +16,9 @@ httpbin_launch() {
|
||||
|
||||
case "$(uname -s)" in
|
||||
Linux)
|
||||
dist_codename=$(lsb_release --codename --short)
|
||||
if command -v lsb_release > /dev/null; then
|
||||
dist_codename=$(lsb_release --codename --short)
|
||||
fi
|
||||
;;
|
||||
|
||||
Darwin)
|
||||
|
Loading…
Reference in New Issue
Block a user