Fixes issue 14029. ant setup: get the 32bit binary in 64bit Windows
authorJuan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Wed, 21 Jul 2010 18:07:54 +0200
changeset 7903 b788095e7704
parent 7902 6d562dba2dfa
child 7904 289974ed369e
Fixes issue 14029. ant setup: get the 32bit binary in 64bit Windows
build.xml
--- a/build.xml	Wed Jul 21 16:42:52 2010 +0200
+++ b/build.xml	Wed Jul 21 18:07:54 2010 +0200
@@ -926,12 +926,16 @@
       <or>
         <equals arg1="${os.arch}" arg2="x86" />
         <equals arg1="${os.arch}" arg2="i386" />
+        <contains string="${os.name}" substring="Windows" />
       </or>
     </condition>
     <condition property="osarch" value="-x64">
       <or>
         <equals arg1="${os.arch}" arg2="amd64" />
         <equals arg1="${os.arch}" arg2="x86_64" />
+        <not>
+          <contains string="${os.name}" substring="Windows" />
+        </not>
       </or>
     </condition>
     <condition property="osarch" value="-ia64">