1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Use android.bat on Windows systems

This commit is contained in:
cketti 2012-11-20 04:04:42 +01:00
parent 7678210807
commit e85bca648c

View File

@ -86,6 +86,11 @@
<property name="rclib" value="${out.dir}/K9RemoteControl.jar" />
<property name="rcdir" value="com/fsck/k9/remotecontrol/**" />
<condition property="android.executable" value="android.bat">
<os family="windows" />
</condition>
<property name="android.executable" value="android" />
<target name="-get-version" depends="-get-version-name">
<echo>Building version number ${current-version-name}</echo>
</target>
@ -300,7 +305,7 @@
</resourceexists>
<else>
<echo message="android update lib-project -p plugins/ActionBarSherlock/library/" />
<exec executable="${sdk.dir}/tools/android" failonerror="true">
<exec executable="${sdk.dir}/tools/${android.executable}" failonerror="true">
<arg line="update lib-project -p plugins/ActionBarSherlock/library/" />
</exec>
</else>
@ -314,7 +319,7 @@
</resourceexists>
<else>
<echo message="android update lib-project -p plugins/Android-PullToRefresh/library/" />
<exec executable="${sdk.dir}/tools/android" failonerror="true">
<exec executable="${sdk.dir}/tools/${android.executable}" failonerror="true">
<arg line="update lib-project -p plugins/Android-PullToRefresh/library/" />
</exec>
</else>