Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
rust
/
crates
/
libc
/
cd9b33e32b91a7738e33c711d99b49b71f368b97
/
.
/
ci
/
android-accept-licenses.sh
blob: 776adf6f4231463e4b7c19f237847873396fdbdf [
file
] [
log
] [
blame
]
#!/usr/bin/expect -f
set
timeout
1800
set
cmd
[
lindex $argv
0
]
set
licenses
[
lindex $argv
1
]
spawn
{*}
$cmd
expect
{
"Do you accept the license '*'*"
{
exp_send
"y\r"
exp_continue
}
eof
}