Commit 59ab8171 authored by LDOUBLEV's avatar LDOUBLEV
Browse files

fix bug

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment