Sha256: cfcd673e8484126fcf3710b67177b0dd19f317c5ebfb1a82776c8944cb459a56
Contents?: true
Size: 593 Bytes
Versions: 34
Compression:
Stored size: 593 Bytes
Contents
#!/usr/bin/env expect -f set timeout -1 spawn sudo xcodebuild -license expect { "Password" { stty -echo expect_user -re "(.*)\n" stty echo set pass $expect_out(1,string) send -- "$pass\r" exp_continue } "incorrect password attempts" { exit 1 } "Hit the Enter key to view the license agreements" { send "\r" exp_continue } "Press 'space' for more" { send " " exp_continue } "By typing 'agree'" { send "agree\r" exp_continue } }
Version data entries
34 entries across 34 versions & 1 rubygems