From 00033b3da39ecd841d3e7ef8553b90254f8b93a1 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 12 Apr 2016 11:39:33 -0400 Subject: [PATCH] Fix placement of comment in bin/elasticsearch This commit fixes the placement of a comment in bin/elasticsearch. The comment was made out of place by the addition of a function definition but order is restored. --- distribution/src/main/resources/bin/elasticsearch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/distribution/src/main/resources/bin/elasticsearch b/distribution/src/main/resources/bin/elasticsearch index f964c004858..f8b2d95c4da 100755 --- a/distribution/src/main/resources/bin/elasticsearch +++ b/distribution/src/main/resources/bin/elasticsearch @@ -45,12 +45,6 @@ # Check to see if you are trying to run this without building it first. Gradle # will replace the project.name with _something_. -jvm_options() { - if [ -f "$1" ]; then - echo "$(grep "^-" "$1" | tr '\n' ' ')" - fi -} - if echo '${project.name}' | grep project.name > /dev/null ; then cat >&2 << EOF Error: You must build the project with Maven or download a pre-built package @@ -60,6 +54,12 @@ EOF exit 1 fi +jvm_options() { + if [ -f "$1" ]; then + echo "$(grep "^-" "$1" | tr '\n' ' ')" + fi +} + CDPATH="" SCRIPT="$0"