Skip to content

Commit c0c9314

Browse files
author
Federico Fissore
committed
build.xml: fixed wrong order of conditions for autodetecting macosx version
1 parent cf3e948 commit c0c9314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<!--echo message="os.version = ${os.version}" /-->
66

77
<!-- Sets properties for macosx/windows/linux depending on current system -->
8-
<condition property="platform" value="macosx-java-latest"><os family="mac" /></condition>
98
<condition property="platform" value="macosx">
109
<and>
1110
<os family="mac" />
1211
<matches string="${os.version}" pattern="^10.[56]." />
1312
</and>
1413
</condition>
14+
<condition property="platform" value="macosx-java-latest"><os family="mac" /></condition>
1515
<condition property="platform" value="windows"><os family="windows" /></condition>
1616
<condition property="platform" value="linux32"><os family="unix" arch="i386" /></condition>
1717
<condition property="platform" value="linux64"><os family="unix" arch="amd64" /></condition>

0 commit comments

Comments
 (0)