提交 7193cbf1 编写于 作者: Z zhouyingfeng

rename "feedback.sh" into "usage.sh", and fix the code style error in this file.

上级 612f3880
...@@ -7,11 +7,11 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/submit_local.sh DESTINATION bin ...@@ -7,11 +7,11 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/submit_local.sh DESTINATION bin
GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
RENAME paddle) RENAME paddle)
configure_file(tools/usage_stat/feedback.sh configure_file(tools/usage_stat/usage.sh
feedback.sh usage.sh
@ONLY) @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/feedback.sh DESTINATION opt/paddle/bin install(FILES ${CMAKE_CURRENT_BINARY_DIR}/usage.sh DESTINATION opt/paddle/bin
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
RENAME paddle_feedback) RENAME paddle_usage)
...@@ -123,7 +123,7 @@ case "$1" in ...@@ -123,7 +123,7 @@ case "$1" in
python -m paddle.utils.make_model_diagram ${@:2} python -m paddle.utils.make_model_diagram ${@:2}
;; ;;
"usage") "usage")
$MYDIR/../opt/paddle/bin/paddle_feedback ${@:2} $MYDIR/../opt/paddle/bin/paddle_usage ${@:2}
;; ;;
"version") "version")
version version
......
...@@ -166,7 +166,3 @@ else ...@@ -166,7 +166,3 @@ else
if [ "${v}" = "1" ]; then echo "all urls tried but all failed...exit"; fi if [ "${v}" = "1" ]; then echo "all urls tried but all failed...exit"; fi
exit 1 exit 1
fi fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册