"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/bin/x-pack/sql-cli" (6 Jan 2022, 504 Bytes) of package /linux/www/elasticsearch-6.8.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
    4 # or more contributor license agreements. Licensed under the Elastic License;
    5 # you may not use this file except in compliance with the Elastic License.
    6 
    7 SCRIPT=$0
    8 DEPRECATED_DIRECTORY=`dirname "$SCRIPT"`
    9 DEPRECATED_PATH=$DEPRECATED_DIRECTORY/sql-cli
   10 ELASTICSEARCH_PATH="`dirname "$DEPRECATED_DIRECTORY"`"/elasticsearch-sql-cli
   11 echo "$DEPRECATED_PATH is deprecated, use $ELASTICSEARCH_PATH"
   12 
   13 $ELASTICSEARCH_PATH