Set +x permissions on unzipped bootstrap compiler

This commit is contained in:
Alexander Udalov
2014-08-12 13:39:48 +04:00
parent 9c00e1c94d
commit 18ca935558
+11
View File
@@ -205,6 +205,17 @@
dest="dependencies/download/bootstrap-compiler.zip" usetimestamp="true"/>
<delete dir="dependencies/bootstrap-compiler" failonerror="false"/>
<unzip src="dependencies/download/bootstrap-compiler.zip" dest="dependencies/bootstrap-compiler"/>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${basedir}/dependencies/ant-contrib.jar"/>
<if>
<matches pattern="mac\.zip|tar\.gz" string="${os.tag}"/>
<then>
<!-- Java can't manipulate permissions -->
<exec executable="find">
<arg value="dependencies/bootstrap-compiler/Kotlin/kotlinc/bin"/>
<arg line="-name 'kotlin*' ! -name '*.bat' -exec chmod a+x '{}' ;"/>
</exec>
</then>
</if>
</target>
<macrodef name="get-asm-sources-and-rename-packages">