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:
parent
3879aa2a98
commit
00033b3da3
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue