jw项目windows环境软件安装
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
483 B

1 year ago
  1. #!/bin/bash
  2. # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
  3. # or more contributor license agreements. Licensed under the Elastic License
  4. # 2.0; you may not use this file except in compliance with the Elastic License
  5. # 2.0.
  6. CLI_PARAMETERS="$@"
  7. source "`dirname "$0"`"/elasticsearch-env
  8. source "$ES_HOME"/bin/x-pack-env
  9. CLI_JAR=$(ls "$ES_HOME"/bin/elasticsearch-sql-cli-*.jar)
  10. exec \
  11. "$JAVA" \
  12. "$XSHARE" \
  13. -jar "$CLI_JAR" \
  14. $CLI_PARAMETERS