8000 Force SDK licensing terms. · rave-engine/python3-android@22b0df0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22b0df0

Browse files
committed
Force SDK licensing terms.
1 parent 9bb6420 commit 22b0df0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mk/test_setup.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/usr/bin/env bash
22
source ./env
33

4+
# Force license terms.
5+
if [[ "$ANDROID_AGREE_LICENSE_TERMS" != y ]]; then
6+
echo "You didn't agree to the Android SDK license terms! Read them and then set ANDROID_AGREE_LICENSE_TERMS=y in env."
7+
exit 1
8+
fi
9+
410
# Install the SDK manager.
511
if [[ ! -d "$BASE/sdk/android-sdk-r${SDK_REV}" ]]; then
612
case $(uname -s) in

0 commit comments

Comments
 (0)
0