CLI: Remove cygwin support
Cygwin support has been removed from master, so we should be consistent with x-plugins as well. See elastic/elasticsearchelastic/elasticsearch#16871 Closes elastic/elasticsearch#1635 Original commit: elastic/x-pack-elasticsearch@8dd93209c7
This commit is contained in:
parent
016b9d017c
commit
f417ec7e8c
|
@ -59,14 +59,6 @@ if [ -z "$ES_CLASSPATH" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Special-case path variables.
|
||||
case `uname` in
|
||||
CYGWIN*)
|
||||
ES_CLASSPATH=`cygpath -p -w "$ES_CLASSPATH"`
|
||||
ES_HOME=`cygpath -p -w "$ES_HOME"`
|
||||
;;
|
||||
esac
|
||||
|
||||
# Try to read package config files
|
||||
if [ -f "/etc/sysconfig/elasticsearch" ]; then
|
||||
CONF_DIR=/etc/elasticsearch
|
||||
|
|
|
@ -59,14 +59,6 @@ if [ -z "$ES_CLASSPATH" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Special-case path variables.
|
||||
case `uname` in
|
||||
CYGWIN*)
|
||||
ES_CLASSPATH=`cygpath -p -w "$ES_CLASSPATH"`
|
||||
ES_HOME=`cygpath -p -w "$ES_HOME"`
|
||||
;;
|
||||
esac
|
||||
|
||||
# Try to read package config files
|
||||
if [ -f "/etc/sysconfig/elasticsearch" ]; then
|
||||
CONF_DIR=/etc/elasticsearch
|
||||
|
|
|
@ -59,14 +59,6 @@ if [ -z "$ES_CLASSPATH" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Special-case path variables.
|
||||
case `uname` in
|
||||
CYGWIN*)
|
||||
ES_CLASSPATH=`cygpath -p -w "$ES_CLASSPATH"`
|
||||
ES_HOME=`cygpath -p -w "$ES_HOME"`
|
||||
;;
|
||||
esac
|
||||
|
||||
# Try to read package config files
|
||||
if [ -f "/etc/sysconfig/elasticsearch" ]; then
|
||||
CONF_DIR=/etc/elasticsearch
|
||||
|
|
Loading…
Reference in New Issue