From 24795d4fd5d68040c6b9f830b6cf6f8fe7ba6789 Mon Sep 17 00:00:00 2001 From: Damien Martin-Guillerez Date: Tue, 27 Jun 2017 11:01:29 +0200 Subject: Single quote the release message Double quoting make bash interpret the backquote and bazel is not on the path of the resulting process, showing error on the console. To cherry-pick for #3086. Change-Id: I15a4cdbd349300c87bd90d56ecb8df63ecf62dfb PiperOrigin-RevId: 160250275 --- scripts/ci/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/ci') diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 09a5f8d5ee..1f1dadee0d 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -194,7 +194,7 @@ function release_to_github() { local release_name=$(get_release_name) local rc=$(get_release_candidate) local release_tool="${GITHUB_RELEASE:-$(which github-release 2>/dev/null || true)}" - local gpl_warning=" + local gpl_warning=' _Notice_: Bazel installers contain binaries licensed under the GPLv2 with Classpath exception. Those installers should always be redistributed along with @@ -209,7 +209,7 @@ The binaries and source-code of the bundled OpenJDK can be _Security_: All our binaries are signed with our [public key](https://bazel.build/bazel-release.pub.gpg) 48457EE0. -" +' if [ ! -x "${release_tool}" ]; then echo "Please set GITHUB_RELEASE to the path to the github-release binary." >&2 -- cgit v1.2.3