Commit c09575f7 authored by ssrq's avatar ssrq

[conf/explorer] Fix for legacy Mac OS X versions

parent 10ca1c12
Pipeline #3409 passed with stage
in 1 minute and 3 seconds
......@@ -68,7 +68,8 @@ case "$("$__explorer/os")" in
cat /etc/gentoo-release
;;
macosx)
sw_vers -productVersion
# NOTE: Legacy versions do not support any arguments
sw_vers | awk -F ':[ \t]+' '$1 == "ProductVersion" { print $2 }'
;;
freebsd)
# Apparently uname -r is not a reliable way to get the patch level.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment