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:
stan 2003-01-15 17:52:20 +00:00
parent c6dfc16f12
commit ae96e0344b
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ if ( $reprocess )
my $opt_type = $option->{type};
my $opt_value = $option->{value};
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