From 5cd0bc52afc76719c78df05380918c5209fe873a Mon Sep 17 00:00:00 2001 From: kimchy Date: Sun, 17 Apr 2011 18:59:58 +0300 Subject: [PATCH] set CDPATH to empty value so it won't conflict when "cd" --- bin/elasticsearch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/elasticsearch b/bin/elasticsearch index 0a1d30a1891..0a106f0127f 100755 --- a/bin/elasticsearch +++ b/bin/elasticsearch @@ -47,7 +47,7 @@ # Be aware that you will be entirely responsible for populating the needed # environment variables. - +CDPATH="" SCRIPT="$0" # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.