Commit 8f35b522 authored by Ludovic Fauvet's avatar Ludovic Fauvet

ActionBarSherlock: use an env variable to find the SDK path

parent a763e9f4
......@@ -39,6 +39,14 @@
application and should be checked into Version Control Systems. -->
<loadproperties srcFile="project.properties" />
<property environment="env" />
<condition property="sdk.dir" value="${env.ANDROID_SDK}" >
<and>
<not><isset property="${env.ANDROID_SDK}"/></not>
<not><isset property="sdk.dir"/></not>
</and>
</condition>
<!-- quick check on sdk.dir -->
<fail
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment