fix(mpv).darwin[2]

well, sw_vers didn't take -- until after v12, i see.
This commit is contained in:
Jacob Heider 2024-04-24 18:30:44 -04:00
parent 2484571106
commit c87ff63aa3
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -81,7 +81,7 @@ test:
# the swift bits rely on a lib not available on macOS 11; we've seen this before.
# no point in holding it out just for that, though
- run: |
if test "$(sw_vers --productVersion | cut -d . -f 1)" -lt 12; then
if test "$(sw_vers -productVersion | cut -d . -f 1)" -lt 12; then
exit 0
fi
if: darwin