nashorn/make/build.xml
changeset 36701 a33456868903
parent 36693 79618075dd44
child 37829 cd05ec7e2b76
--- a/nashorn/make/build.xml	Thu Mar 24 15:34:50 2016 -0700
+++ b/nashorn/make/build.xml	Wed Jul 05 21:30:02 2017 +0200
@@ -93,7 +93,21 @@
         <os family="windows"/>
       </not>
     </condition>
-  </target>
+
+    <!--set windows cygwin/cmd specific properties-->
+    <property environment="env"/>
+    <condition property="test-sys-prop-no-security.os.not.windows.cmd">
+     <not>
+      <and>
+        <os family="windows"/>
+        <not>
+          <isset property="env.SHELL"/>
+        </not>
+      </and>
+     </not>
+    </condition>
+   </target>
+  
 
   <!-- check minimum ant version required to be 1.8.4 -->
   <target name="check-ant-version">