aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
index e98b58bad8..70e1d895b3 100755
--- a/scripts/ci/build.sh
+++ b/scripts/ci/build.sh
@@ -69,6 +69,9 @@ function setup_android_repositories() {
cp WORKSPACE WORKSPACE.bak
trap '[ -f WORKSPACE.bak ] && rm WORKSPACE && mv WORKSPACE.bak WORKSPACE' \
EXIT
+ # Make sure that WORKSPACE ends with a newline, otherwise we'll end up with
+ # a syntax error.
+ echo >>WORKSPACE
cat >>WORKSPACE <<EOF
android_sdk_repository(
name = "androidsdk",