You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2021/11/03 23:22:36 UTC

[geode-benchmarks] branch debug-netty-latest updated: Fix concourse script issue

This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch debug-netty-latest
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/debug-netty-latest by this push:
     new eb4f0be  Fix concourse script issue
eb4f0be is described below

commit eb4f0be4ccd5775353845331ac1b63c37015a36d
Author: Jens Deppe <jd...@vmware.com>
AuthorDate: Wed Nov 3 16:21:36 2021 -0700

    Fix concourse script issue
---
 gradlew | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gradlew b/gradlew
index de155c6..df0aa1e 100755
--- a/gradlew
+++ b/gradlew
@@ -92,13 +92,13 @@ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
 
 # Determine the Java command to use to start the JVM.
 if [ -n "$JAVA_HOME" ] ; then
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+    if [ -f "$JAVA_HOME/jre/sh/java" ] ; then
         # IBM's JDK on AIX uses strange locations for the executables
         JAVACMD="$JAVA_HOME/jre/sh/java"
     else
         JAVACMD="$JAVA_HOME/bin/java"
     fi
-    if [ ! -x "$JAVACMD" ] ; then
+    if [ ! -f "$JAVACMD" ] ; then
         die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
 
 Please set the JAVA_HOME variable in your environment to match the