--- a/nashorn/make/build.xml Mon Mar 21 11:50:23 2016 +0100
+++ b/nashorn/make/build.xml Mon Mar 21 12:38:23 2016 +0100
@@ -96,7 +96,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">