aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 1ecb0132a8..d71c2e630e 100755
--- a/platform_tools/android/bin/android_setup.sh
+++ b/platform_tools/android/bin/android_setup.sh
@@ -28,7 +28,7 @@ fi
# check to see that gclient sync ran successfully
THIRD_PARTY_EXTERNAL_DIR=${SCRIPT_DIR}/../third_party/externals
-if [ ! -d "$ANDROID_TOOLCHAIN" ]; then
+if [ ! -d "$THIRD_PARTY_EXTERNAL_DIR" ]; then
echo ""
echo "ERROR: Unable to find the required third_party dependencies needed to build."
echo " To fix this add the following line to your .gclient file and run 'gclient sync'"