Check archive name instead of os family when extracting it.

This commit is contained in:
Zalim Bashorov
2013-10-21 21:12:21 +04:00
parent 14ca06c6c2
commit 338f3614f0
+2 -2
View File
@@ -260,12 +260,12 @@
</if>
<if>
<os family="windows"/>
<matches pattern=".+\.win\.zip" string="@{build.zip}"/>
<then>
<unzip src="dependencies/download/@{build.zip}" dest="ideaSDK"/>
</then>
<elseif>
<os family="mac"/>
<matches pattern=".+\.mac\.zip" string="@{build.zip}"/>
<then>
<unzip src="dependencies/download/@{build.zip}" dest="ideaSDK">
<cutdirsmapper dirs="1"/>