Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit da76937

Browse files
committed
Return an error on failed packages
1 parent c1bf3f6 commit da76937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/expect-script.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ set timeout -1;
22
spawn <%= scope.lookupvar('android::paths::sdk_home') %>/tools/android update sdk -u --all -t <%= @title %> <%= @proxy_host %> <%= @proxy_port %>;
33
expect {
44
"Do you accept the license" { exp_send "y\r" ; exp_continue }
5+
"Error: Ignoring unknown package" { exit 1 }
56
eof
67
}

0 commit comments

Comments
 (0)