aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 13:49:30 +0000
committerGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-04 13:49:30 +0000
commit40415c587d3646699c86042e2b88e208f33cd0c7 (patch)
tree7d9ca871c18a10a0a590c805a08ec14e90a41bbb
parent4d844d7e77462a2df08ccd7cb482050b0fa37de0 (diff)
fix error in android setup script
git-svn-id: http://skia.googlecode.com/svn/trunk@11074 2bbb7eff-a529-9590-31e7-b0007b416f81
-rwxr-xr-xplatform_tools/android/bin/android_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform_tools/android/bin/android_setup.sh b/platform_tools/android/bin/android_setup.sh
index 5631e8e187..07ff3c5601 100755
--- a/platform_tools/android/bin/android_setup.sh
+++ b/platform_tools/android/bin/android_setup.sh
@@ -41,7 +41,7 @@ if [ -z "$ANDROID_SDK_ROOT" ]; then
if [ -z "$ANDROID_TOOL" ]; then
echo "ERROR: Please define ANDROID_SDK_ROOT in your environment to point"
echo " to a valid Android SDK installation."
- return 1
+ exit 1
fi
ANDROID_SDK_ROOT=$(cd $(dirname "$ANDROID_TOOL")/.. && pwd)
exportVar ANDROID_SDK_ROOT "$ANDROID_SDK_ROOT"