mirror of https://github.com/apache/lucene.git
Fixes #124 in bin/solr for 'cdpath' users
Signed-off-by: Jan Høydahl <janhoy@apache.org>
This commit is contained in:
parent
c777db7c8a
commit
cbf0eba176
|
@ -73,6 +73,7 @@ while [ -h "$SOLR_SCRIPT" ] ; do
|
|||
fi
|
||||
done
|
||||
|
||||
CDPATH='' # Prevent "file or directory not found" for 'cdpath' users
|
||||
SOLR_TIP=`dirname "$SOLR_SCRIPT"`/..
|
||||
SOLR_TIP=`cd "$SOLR_TIP"; pwd`
|
||||
DEFAULT_SERVER_DIR="$SOLR_TIP/server"
|
||||
|
|
Loading…
Reference in New Issue