提交 59ab8171 编写于 作者: L LDOUBLEV

fix bug

上级 64edd41c
...@@ -32,11 +32,7 @@ function func_sed_params(){ ...@@ -32,11 +32,7 @@ function func_sed_params(){
array=(${params}) array=(${params})
key=${array[0]} key=${array[0]}
value=${array[1]} value=${array[1]}
if [[ $value =~ 'benchmark_train' ]];then
IFS='='
_val=(${value})
param_value="${_val[0]}=${param_value}"
fi
new_params="${key}:${param_value}" new_params="${key}:${param_value}"
IFS=";" IFS=";"
cmd="sed -i '${line}s/.*/${new_params}/' '${filename}'" cmd="sed -i '${line}s/.*/${new_params}/' '${filename}'"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册