Merge pull request #236 from orangeudav/patch-1

Fix OS X's version detecting
pull/242/head
texane 2014-05-26 00:22:55 -05:00
commit 4782ab0ca7
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -22,4 +22,11 @@ tar xzvf osx.tar.gz
Then, install the driver using:
sudo make osx_stlink_shield
no reboot required.
no reboot required.
P.S. If error `OS X version not supported` occurs. For the latest versions of Mac OS X you may need to change the `osx/install.sh` as follows:
```
< ISOSXLION=$(sw_vers -productVersion)
---
> ISOSXLION=$(sw_vers -productVersion | sed -e 's:.[[:digit:]]*$::')
```