summaryrefslogtreecommitdiff
path: root/ci/android-accept-licenses.sh
blob: 8d8f60a5ec2604606571cdb6a7d231d5754aa38f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/expect -f
# ignore-license

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
}