8000 优化 · home-coder/yun-update-source@0424dbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 0424dbd

Browse files
committed
优化
1 parent b5b3fab commit 0424dbd

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ yun-update-source
55

66
##################################################整体说明###############################################################################
77
.
8-
├── chat_util.sh 用于与前端交互
8+
├── chat_util.sh 用于与前端交互
99
├── common.sh 云编译脚本主函数框架
10-
├── custom_branch_platform 客户标识 分支 硬件平台对应关系表
11-
├── edit_util.sh 文本编辑工具类
10+
├── edit_util.sh 文本编辑工具类
1211
├── include.sh 云编译必要的环境初始化依赖
1312
├── manifest.prot 前端配置好的云编译配置項
14-
├── process_server.sh 具体处理manifest.prot各项配置項事物的服务
13+
├── process_server.sh 具体处理manifest.prot各项配置項事物的服务
1514
├── README.md 使用说明
1615
└── test_data 脚本临时测试使用数据
17-
18-
1 directory, 8 files
19-
16+
├── r-config
17+
│   ├── custom_branch_device 客户标识 分支 硬件平台对应关系表
18+
│   ├── dolphin-cantv-h2_register 属性注册表
19+
│   └── mstar638_register
2020

2121

2222

@@ -62,5 +62,4 @@ http://man.linuxde.net/sed
6262
--
6363
http://www.blogjava.net/jasmine214--love/archive/2011/10/12/361040.html
6464

65-
###################################################一些说明##############################################################################
6665

common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function load_local_config()
3737
{
3838
debug_func "load_local_config"
3939

40-
#根据客户唯一标识码(厂商+型号), 从属性注册表(随便一个,无论mstar还是全志或者晶晨前两个字段都是一样的)和配置文件"custom_branch_device"中解析对应的分支和平台
40+
#根据客户唯一标识码(厂商+型号), 从custom_branch_device(随便一个,无论平台mstar还是全志或者晶晨前两个字段都是一样的)中解析对应的分支和平台下设备
4141
manufacturer_tmp=$(awk '($2=="PRODUCT_MANUFACTURER"){print $1}' "$SCRIPT_PWD/r-config/dolphin-cantv-h2_register")
4242
bmodel_tmp=$(awk '($2=="business_model"){print $1}' "$SCRIPT_PWD/r-config/dolphin-cantv-h2_register")
4343
if [[ -z $manufacturer_tmp || -z $bmodel_tmp ]]; then
@@ -66,7 +66,7 @@ function call_version_manager()
6666
#@FUNC: 使用一次针对manifestmap整体的扫描确定更新情况,如果更新便直接更新。
6767
# 处理过程中要求每个事件都有确认是否更新的返回标志,并通过0+0+0+0==0判定结果
6868
#RET :
69-
#
69+
# TODO
7070
function update_local_code()
7171
{
7272
debug_func "update_local_code"

include.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# include.sh 环境依赖项
33
#
44

5-
#XXX 所有的变量不使用export关键字,防止多线程调用shell时引起的环境变量污染
5+
#XXX ?? 所有的变量不使用export关键字,防止多线程调用shell时引起的环境变量污染
66

77
SCRIPT_PWD=`pwd`
88

0 commit comments

Comments
 (0)
0