Skip to content

Commit

Permalink
Remove unnecessary exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Emor-nj committed Jan 17, 2024
1 parent f48db3f commit a101428
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/beeline
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
CLASS="org.apache.hive.beeline.KyuubiBeeLine"

if [ -z "${KYUUBI_HOME}" ]; then
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi

. "${KYUUBI_HOME}/bin/load-kyuubi-env.sh" -s
Expand Down
2 changes: 1 addition & 1 deletion bin/docker-image-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function error {
}

if [ -z "${KYUUBI_HOME}" ]; then
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi
KYUUBI_IMAGE_NAME="kyuubi"

Expand Down
2 changes: 1 addition & 1 deletion bin/kyuubi
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function kyuubi_rotate_log() {
}

if [ -z "${KYUUBI_HOME}" ]; then
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi

if [[ $1 == "start" ]] || [[ $1 == "run" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion bin/kyuubi-admin
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
CLASS="org.apache.kyuubi.ctl.cli.AdminControlCli"

if [ -z "${KYUUBI_HOME}" ]; then
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi

. "${KYUUBI_HOME}/bin/load-kyuubi-env.sh" -s
Expand Down
2 changes: 1 addition & 1 deletion bin/kyuubi-ctl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
CLASS="org.apache.kyuubi.ctl.cli.ControlCli"

if [ -z "${KYUUBI_HOME}" ]; then
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi

. "${KYUUBI_HOME}/bin/load-kyuubi-env.sh" -s
Expand Down
2 changes: 1 addition & 1 deletion bin/kyuubi-zk-cli
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
CLASS="org.apache.kyuubi.shaded.zookeeper.ZooKeeperMain"

if [ -z "${KYUUBI_HOME}" ]; then
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
fi
. "${KYUUBI_HOME}/bin/load-kyuubi-env.sh" -s

Expand Down
2 changes: 1 addition & 1 deletion bin/load-kyuubi-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


if [ -z "${KYUUBI_HOME}" ]; then
export KYUUBI_HOME="$(cd "`dirname "$0"`"/..; pwd)"
export ${KYUUBI_HOME:-"$(cd "$(dirname "$0")"/.. || exit; pwd)"}
fi
export KYUUBI_CONF_DIR="${KYUUBI_CONF_DIR:-"${KYUUBI_HOME}"/conf}"

Expand Down

0 comments on commit a101428

Please sign in to comment.