mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
removed unnecessary sed expr defenition
This commit is contained in:
parent
5afa0f4a00
commit
861585bcca
30 changed files with 74 additions and 74 deletions
|
@ -278,7 +278,7 @@ get_object_value() {
|
|||
update_object_value() {
|
||||
row=$(grep -n "$2='$3'" $USER_DATA/$1.conf)
|
||||
lnr=$(echo $row | cut -f 1 -d ':')
|
||||
object=$(echo $row | sed -e "s/^$lnr://")
|
||||
object=$(echo $row | sed "s/^$lnr://")
|
||||
eval "$object"
|
||||
eval old="$4"
|
||||
old=$(echo "$old" | sed -e 's/\\/\\\\/g' -e 's/&/\\&/g' -e 's/\//\\\//g')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue