mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 11:05:29 +00:00
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…
x
Reference in New Issue
Block a user