From: cbarratt Date: Sun, 26 Jan 2003 08:10:27 +0000 (+0000) Subject: configure.pl: comments that delimit Conf settings must now start in X-Git-Tag: v2_0_0beta0~12 X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=commitdiff_plain;h=c0f0e743da5d40baf69d4330d8ccc0f4112a081f configure.pl: comments that delimit Conf settings must now start in column 1. This fixes bug when merging new Conf settings that have comments embedded in the value. --- diff --git a/configure.pl b/configure.pl index a544aaf..b66231e 100755 --- a/configure.pl +++ b/configure.pl @@ -642,7 +642,7 @@ sub ConfigParse my $comment = 1; my $allVars = {}; while ( ) { - if ( /^\s*#/ ) { + if ( /^#/ ) { if ( $comment ) { $out .= $_; } else {