mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-13] ZEPPELIN_CONF_DIR cannot be reached until ZEPPELIN_CONF_DIR become set
- Fix the orders of checking configuration between zeppelin-daemon.sh and zeppelin.sh
This commit is contained in:
parent
a61d28a58a
commit
649075590a
1 changed files with 6 additions and 7 deletions
|
|
@ -28,13 +28,6 @@ if [ $# -le 1 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ -L ${BASH_SOURCE-$0} ]; then
|
||||
BIN=$(dirname $(readlink "${BASH_SOURCE-$0}"))
|
||||
else
|
||||
BIN=$(dirname ${BASH_SOURCE-$0})
|
||||
fi
|
||||
BIN=$(cd "${BIN}">/dev/null; pwd)
|
||||
|
||||
if [ "$1" == "--config" ]
|
||||
then
|
||||
shift
|
||||
|
|
@ -50,6 +43,12 @@ then
|
|||
shift
|
||||
fi
|
||||
|
||||
if [ -L ${BASH_SOURCE-$0} ]; then
|
||||
BIN=$(dirname $(readlink "${BASH_SOURCE-$0}"))
|
||||
else
|
||||
BIN=$(dirname ${BASH_SOURCE-$0})
|
||||
fi
|
||||
BIN=$(cd "${BIN}">/dev/null; pwd)
|
||||
|
||||
. "${BIN}/common.sh"
|
||||
. "${BIN}/functions.sh"
|
||||
|
|
|
|||
Loading…
Reference in a new issue