Skip to content

Commit

Permalink
Space removed
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulDoyensec committed Sep 5, 2024
1 parent c2f5353 commit 9102fb2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions google/detectors/credentials/cve20177615/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,17 @@ if [ -n "$JAVA_HOME" ] ; then
fi
if [ ! -x "$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
location of your Java installation."
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD=java
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi

Expand Down Expand Up @@ -245,5 +245,4 @@ eval "set -- $(
tr '\n' ' '
)" '"$@"'

echo "$JAVACMD" "$@"
exec "$JAVACMD" "$@"

0 comments on commit 9102fb2

Please sign in to comment.