You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2021/11/04 16:02:13 UTC

[geode-benchmarks] branch develop updated: GEODE-9796: workaround for cgroups issue

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

onichols pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4dc33b1  GEODE-9796: workaround for cgroups issue
4dc33b1 is described below

commit 4dc33b167e85080ebc8d4bc75d94348f6ed2c662
Author: Owen Nichols <on...@apache.org>
AuthorDate: Thu Nov 4 09:01:53 2021 -0700

    GEODE-9796: workaround for cgroups 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