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.
This commit is contained in:
Jason Tedor 2016-04-12 11:39:33 -04:00
parent 3879aa2a98
commit 00033b3da3
1 changed files with 6 additions and 6 deletions

View File

@ -45,12 +45,6 @@
# Check to see if you are trying to run this without building it first. Gradle # Check to see if you are trying to run this without building it first. Gradle
# will replace the project.name with _something_. # 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 if echo '${project.name}' | grep project.name > /dev/null ; then
cat >&2 << EOF cat >&2 << EOF
Error: You must build the project with Maven or download a pre-built package Error: You must build the project with Maven or download a pre-built package
@ -60,6 +54,12 @@ EOF
exit 1 exit 1
fi fi
jvm_options() {
if [ -f "$1" ]; then
echo "$(grep "^-" "$1" | tr '\n' ' ')"
fi
}
CDPATH="" CDPATH=""
SCRIPT="$0" SCRIPT="$0"