match on name: not name, may be invalid

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-04 11:00:15 +02:00
parent db425d3925
commit d49e481a87

View file

@ -38,7 +38,7 @@ get_current_value() {
} }
cd "$__object/parameter" cd "$__object/parameter"
if grep -q "^$name" "$__object/explorer/group"; then if grep -q "^${name}:" "$__object/explorer/group"; then
# group exists, only change changed values # group exists, only change changed values
for property in $(ls .); do for property in $(ls .); do
current_value=$(get_current_value "$property") current_value=$(get_current_value "$property")