mb-setvar fix
parent
1330ff1a4f
commit
935acf4911
|
@ -22,7 +22,7 @@ search=$(echo $1|cut -d= -f1)
|
|||
if [[ $search =~ "bottom_img" ]]; then
|
||||
sed -i /^"$search="/d $FILE
|
||||
fi
|
||||
if grep -Rq $search $FILE
|
||||
if grep -Rq $search= $FILE
|
||||
then #found
|
||||
sed -i s/^"$search=".*$/"$1"/ $FILE
|
||||
#sed -i s/^"$search".*$/"$1"/ $FILE
|
||||
|
|
Loading…
Reference in New Issue