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/migrate 10 ELASTICSEARCH_PATH="`dirname "$DEPRECATED_DIRECTORY"`"/elasticsearch-migrate 11 echo "$DEPRECATED_PATH is deprecated, use $ELASTICSEARCH_PATH" 12 13 $ELASTICSEARCH_PATH