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

Scripts: find modules non-recursively to avoid hardcode

上级 179537a0
......@@ -3,9 +3,8 @@
COMMANDS="config build build_dbg build_opt build_cpu build_gpu build_opt_gpu test coverage lint \
buildify check build_fe build_teleop build_prof doc clean format usage -h --help"
MODULES="cyber audio bridge canbus common contrib control data dreamview drivers guardian \
localization map monitor perception planning prediction routing storytelling teleop \
third_party_perception tools transform v2x"
MODULES="$(find /apollo/modules/* -maxdepth 0 -type d -printf "%f ")"
MODULES="cyber ${MODULES}"
function _complete_apollo_func() {
COMPREPLY=()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册