Remove without-jdk from the installer's JDK7 script
I think that as of the JDK7 installer doesn't have a "without-jdk" string in its name. Thus, when Jenkins tries to find it, it ends up returning the
empty string and eventually erroring out (see, e.g, http://ci.bazel.io/job/Bazel-Install/15187/).
Fixes
@@ -66,7 +66,7 @@ install_bazel "$(find $PWD/bazel-installer -name '*.sh' | \
grep -F "PLATFORM_NAME=${PLATFORM}" | grep -Fv jdk7 | grep -F without-jdk | head -1)" \
~/.bazel/HEAD
install_bazel "$(find $PWD/bazel-installer -name '*.sh' | \
- grep -F "PLATFORM_NAME=${PLATFORM}" | grep -F jdk7 | grep -F without-jdk | head -1)" \
+ grep -F "PLATFORM_NAME=${PLATFORM}" | grep -F jdk7 | head -1)" \
~/.bazel/HEAD-jdk7
# Install latest Bazel if not yet installed
