aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@irt-systemx.fr>2017-10-30 20:08:52 +0100
committerAngelo Mantellini <angelo.mantellini@irt-systemx.fr>2017-10-30 20:08:52 +0100
commite90a1ec7c82519127b63931a96535ad4bc31342d (patch)
treec14a18f85d1b1d30e0528d1cb7bad90069183eff
parent1735dc78ac2f9a69fa0cba02adb007abb59f14d5 (diff)
correct sdk license code
Change-Id: Icce27fc034c74a6b631fbaea3722a34d06bcc166 Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
-rwxr-xr-xscripts/init.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/init.sh b/scripts/init.sh
index 647e2ef5..26e8394b 100755
--- a/scripts/init.sh
+++ b/scripts/init.sh
@@ -41,10 +41,12 @@ if [ -z ${SDK_PATH} ]; then
mv android-sdk-linux sdk
fi
mkdir -p sdk/licenses
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "sdk/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "sdk/licenses/android-sdk-preview-license"
+ mkdir -p sdk/licenses
+ echo "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "sdk/licenses/android-sdk-license"
+ echo "\n84831b9409646a918e30573bab4c9c91346d8abd" > "sdk/licenses/android-sdk-preview-license"
echo "y" | ./sdk/tools/android update sdk --filter platform-tools,build-tools-23.0.2,android-23,extra-android-m2repository,extra-google-m2repository --no-ui --all --force
- echo "y" | ./sdk/tools/android update sdk --filter "android-23" --no-ui --all --forceecho y | ./sdk/tools/android update sdk --no-ui --all --filter build-tools-23.0.2
+ echo "y" | ./sdk/tools/android update sdk --filter "android-23" --no-ui --all --force
+ echo "y" | ./sdk/tools/android update sdk --no-ui --all --filter build-tools-23.0.2
fi
cd ..
fi