Welcome to mirror list, hosted at ThFree Co, Russian Federation.

android-accept-licenses.sh « tools - github.com/docker-android-sdk/android-30.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa3e4a08d0621de77d1aac15eaf78e5817108d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/expect -f

set timeout 1800
set cmd [lindex $argv 0]
set licenses [lindex $argv 1]

spawn {*}$cmd
expect {
  "(y/N)" {
        exp_send "y\r"
        exp_continue
  }
  eof
}