Skip to content

Commit

Permalink
extended format allow - in parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 4, 2022
1 parent 5ac685c commit 502ba72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/config_controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ set_param(){
if [[ -z $val ]]; then
get_param $args; else
local cmd=$(echo 's@^'${param}'[ ]*=.*@'${param} '=' ${val}'@')
sed -i "${cmd}" "$SIGNET_ROOT/config.ini"
sed -iE "${cmd}" "$SIGNET_ROOT/config.ini"
echo "Modification applied to ${param}"
fi
}
Expand Down

0 comments on commit 502ba72

Please sign in to comment.