[Build] Modify the build script to automatically create a log directory (#5826)
This commit is contained in:
3
build.sh
3
build.sh
@ -273,6 +273,7 @@ if [ ${BUILD_FE} -eq 1 -o ${BUILD_SPARK_DPP} -eq 1 ]; then
|
||||
cp -r -p ${DORIS_HOME}/fe/spark-dpp/target/spark-dpp-*-jar-with-dependencies.jar ${DORIS_OUTPUT}/fe/spark-dpp/
|
||||
|
||||
cp -r -p ${DORIS_THIRDPARTY}/installed/webroot/* ${DORIS_OUTPUT}/fe/webroot/static/
|
||||
mkdir -p ${DORIS_OUTPUT}/fe/log
|
||||
|
||||
elif [ ${BUILD_SPARK_DPP} -eq 1 ]; then
|
||||
install -d ${DORIS_OUTPUT}/fe/spark-dpp/
|
||||
@ -298,6 +299,8 @@ if [ ${BUILD_BE} -eq 1 ]; then
|
||||
cp -r -p ${DORIS_HOME}/webroot/be/* ${DORIS_OUTPUT}/be/www/
|
||||
|
||||
cp -r -p ${DORIS_THIRDPARTY}/installed/webroot/* ${DORIS_OUTPUT}/be/www/
|
||||
mkdir -p ${DORIS_OUTPUT}/be/log
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user