Skip to content

Commit

Permalink
Change "yes n" to "echo n" to decline only one prompt.
Browse files Browse the repository at this point in the history
As suggested at
keroserene#90 (comment)
  • Loading branch information
David Fifield authored and eighthave committed Dec 19, 2018
1 parent b18f4de commit 480491b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ if ! git diff-index --quiet HEAD --; then
fi
popd
pushd $WEBRTC_DIR
# "yes n" is to say "no" to the Google Play services license agreement and download.
yes n | gclient sync --with_branch_heads -r $COMMIT || exit 1
# "echo n" is to say "no" to the Google Play services license agreement and download.
echo n | gclient sync --with_branch_heads -r $COMMIT || exit 1
# Delete where the Google Play services downloads to, just to be sure.
# First check that an ancestor directory of what we're deleting exists, so we're more likely to notice a source reorganization.
[[ -d "$WEBRTC_SRC/third_party/android_tools/sdk/extras/google/m2repository" ]] || {
Expand Down

0 comments on commit 480491b

Please sign in to comment.