Set +x permissions on unzipped bootstrap compiler
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user