Fixed incorrct substitutions in shell scripts.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@346 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
c6dfc16f12
commit
ae96e0344b
|
@ -993,7 +993,7 @@ if ( $reprocess )
|
||||||
my $opt_type = $option->{type};
|
my $opt_type = $option->{type};
|
||||||
my $opt_value = $option->{value};
|
my $opt_value = $option->{value};
|
||||||
my $opt_desc = $option->{description};
|
my $opt_desc = $option->{description};
|
||||||
$data =~ s/^$opt_name\s*=/$opt_name="$opt_value"/mg;
|
$data =~ s/^$opt_name\s*=.*$/$opt_name="$opt_value"/mg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue