mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
build.xml: fixed wrong order of conditions for autodetecting macosx version
This commit is contained in:
parent
cf3e9480a5
commit
c0c9314077
@ -5,13 +5,13 @@
|
||||
<!--echo message="os.version = ${os.version}" /-->
|
||||
|
||||
<!-- Sets properties for macosx/windows/linux depending on current system -->
|
||||
<condition property="platform" value="macosx-java-latest"><os family="mac" /></condition>
|
||||
<condition property="platform" value="macosx">
|
||||
<and>
|
||||
<os family="mac" />
|
||||
<matches string="${os.version}" pattern="^10.[56]." />
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="platform" value="macosx-java-latest"><os family="mac" /></condition>
|
||||
<condition property="platform" value="windows"><os family="windows" /></condition>
|
||||
<condition property="platform" value="linux32"><os family="unix" arch="i386" /></condition>
|
||||
<condition property="platform" value="linux64"><os family="unix" arch="amd64" /></condition>
|
||||
|
Loading…
Reference in New Issue
Block a user