From 5c4ef8f97dda1616b950d0cf55d1c76185e2447a Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 19 Feb 2010 16:17:13 -0800 Subject: [PATCH] Add ANDROID_SDK_ROOT to Android's caveats. --- Library/Formula/android-sdk.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Library/Formula/android-sdk.rb b/Library/Formula/android-sdk.rb index 6f7745ffef1f..a04477d3d64b 100644 --- a/Library/Formula/android-sdk.rb +++ b/Library/Formula/android-sdk.rb @@ -25,9 +25,13 @@ def install end end - def caveats; "\ + def caveats; <<-EOS We agreed to the Android SDK License Agreement for you by downloading the SDK. If this is unacceptable you should uninstall. -You can read the license at: http://developer.android.com/sdk/terms.html" +You can read the license at: http://developer.android.com/sdk/terms.html + +Please add this line to your .bash_profile: + export ANDROID_SDK_ROOT=#{prefix} +EOS end end