Skip to content

Instantly share code, notes, and snippets.

View caseykulm's full-sized avatar
🔲

Casey Kulm caseykulm

🔲
View GitHub Profile
@caseykulm
caseykulm / android_accept_license.sh
Created April 11, 2016 17:51 — forked from eyal-rounds/android_accept_license.sh
shell script that accept the license of android sdk update --no-ui
#!/usr/bin/expect -f
# Usage example:
# ./accept-licenses "android update sdk --no-ui --all --filter build-tools" "android-sdk-license-bcbbd656|intel-android-sysimage-license-1ea702d1"
set timeout 1800
set cmd [lindex $argv 0]
set licenses [lindex $argv 1]
spawn {*}$cmd