提交 d8926d46 编写于 作者: S storypku 提交者: Chang Songhong

apollo.sh: create directory for APOLLO_BAZEL_DIST_DIR if non-exist

上级 f5cef629
......@@ -86,6 +86,13 @@ function apollo_env_setup() {
info "${TAB}APOLLO_ENV: ${APOLLO_ENV}"
info "${TAB}USE_GPU: USE_GPU_HOST=${USE_GPU_HOST} USE_GPU_TARGET=${USE_GPU_TARGET}"
if [[ -z "${APOLLO_BAZEL_DIST_DIR}" ]]; then
source "${TOP_DIR}/cyber/setup.bash"
fi
if [[ ! -d "${APOLLO_BAZEL_DIST_DIR}" ]]; then
mkdir -p "${APOLLO_BAZEL_DIST_DIR}"
fi
if [ ! -f "${APOLLO_ROOT_DIR}/.apollo.bazelrc" ]; then
env ${APOLLO_ENV} bash "${APOLLO_ROOT_DIR}/scripts/apollo_config.sh" --noninteractive
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册