Check archive name instead of os family when extracting it.
This commit is contained in:
@@ -260,12 +260,12 @@
|
|||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if>
|
<if>
|
||||||
<os family="windows"/>
|
<matches pattern=".+\.win\.zip" string="@{build.zip}"/>
|
||||||
<then>
|
<then>
|
||||||
<unzip src="dependencies/download/@{build.zip}" dest="ideaSDK"/>
|
<unzip src="dependencies/download/@{build.zip}" dest="ideaSDK"/>
|
||||||
</then>
|
</then>
|
||||||
<elseif>
|
<elseif>
|
||||||
<os family="mac"/>
|
<matches pattern=".+\.mac\.zip" string="@{build.zip}"/>
|
||||||
<then>
|
<then>
|
||||||
<unzip src="dependencies/download/@{build.zip}" dest="ideaSDK">
|
<unzip src="dependencies/download/@{build.zip}" dest="ideaSDK">
|
||||||
<cutdirsmapper dirs="1"/>
|
<cutdirsmapper dirs="1"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user