Please sign in to comment.
OS X: Fix parsing of 10.x.0 version numbers (fixes #32)
For OS X versions with a patch version of 0, the sw_vers command does not output the patch version (i.e. "10.8" instead of "10.8.0"), so we fix this by accepting also two parsed numbers instead of only three.
- Loading branch information...