Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions be/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ install(DIRECTORY DESTINATION ${OUTPUT_DIR}/conf)
install(FILES
${BASE_DIR}/../bin/start_be.sh
${BASE_DIR}/../bin/stop_be.sh
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_WRITE GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
DESTINATION ${OUTPUT_DIR}/bin)

install(FILES
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ mkdir -p ${PALO_OUTPUT}

#Copy Frontend and Backend
if [ ${BUILD_FE} -eq 1 ]; then
cp -R ${PALO_HOME}/fe/output ${PALO_OUTPUT}/fe
cp -rp ${PALO_HOME}/fe/output ${PALO_OUTPUT}/fe
fi
if [ ${BUILD_BE} -eq 1 ]; then
cp -R ${PALO_HOME}/be/output ${PALO_OUTPUT}/be
cp -rp ${PALO_HOME}/be/output ${PALO_OUTPUT}/be
fi

echo "***************************************"
Expand Down
9 changes: 6 additions & 3 deletions fe/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,12 @@
<mkdir dir="${outputdir}/lib/kudu-client" />
<mkdir dir="${outputdir}/webroot" />

<copy todir="${outputdir}/bin" >
<fileset dir="${basedir}/../bin/" includes="start_fe.sh,stop_fe.sh" />
</copy>
<exec executable="cp">
<arg line="-rp ${basedir}/../bin/start_fe.sh ${outputdir}/bin/" />
</exec>
<exec executable="cp">
<arg line="-rp ${basedir}/../bin/stop_fe.sh ${outputdir}/bin/" />
</exec>
<copy todir="${outputdir}/conf" >
<fileset dir="${basedir}/../conf/" includes="fe.conf" />
</copy>
Expand Down