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
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ get_current_value() {
}
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
for property in $(ls .); do
current_value=$(get_current_value "$property")