Index: build/install-build-deps-android.sh |
diff --git a/build/install-build-deps-android.sh b/build/install-build-deps-android.sh |
index 4233c7f38f12a41ee47a1331f8bd20641aa63da1..5d95ed5413db1fd5924f82c76860faa7480b306a 100755 |
--- a/build/install-build-deps-android.sh |
+++ b/build/install-build-deps-android.sh |
@@ -94,10 +94,10 @@ fi |
if test "$skip_inst_sdk_packages" != 1; then |
echo 'checking for sdk packages install' |
- # Get the SDK extras packages to install from the DEPS file 'sdkextras' hook. |
- packages="$(python -c 'execfile("./get_sdk_extras_packages.py")')" |
# Use absolute path to call 'android' so script can be run from any directory. |
cwd=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) |
+ # Get the SDK extras packages to install from the DEPS file 'sdkextras' hook. |
+ packages="$(python ${cwd}/get_sdk_extras_packages.py)" |
for package in "${packages}"; do |
pkg_id=$(${cwd}/../third_party/android_tools/sdk/tools/android list sdk | \ |
grep -i "$package," | \ |