From ae96e0344bdde2c8f071973bd422674d3efad47c Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 15 Jan 2003 17:52:20 +0000 Subject: [PATCH] Fixed incorrct substitutions in shell scripts. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@346 e3e1d417-86f3-4887-817a-d78f3d33393f --- zmconfig.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmconfig.pl.in b/zmconfig.pl.in index 4df79e2e4..53c179260 100755 --- a/zmconfig.pl.in +++ b/zmconfig.pl.in @@ -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