configure.pl: comments that delimit Conf settings must now start in
authorcbarratt <cbarratt>
Sun, 26 Jan 2003 08:10:27 +0000 (08:10 +0000)
committercbarratt <cbarratt>
Sun, 26 Jan 2003 08:10:27 +0000 (08:10 +0000)
    column 1.  This fixes bug when merging new Conf settings that
    have comments embedded in the value.

configure.pl

index a544aaf..b66231e 100755 (executable)
@@ -642,7 +642,7 @@ sub ConfigParse
     my $comment = 1;
     my $allVars = {};
     while ( <C> ) {
     my $comment = 1;
     my $allVars = {};
     while ( <C> ) {
-        if ( /^\s*#/ ) {
+        if ( /^#/ ) {
             if ( $comment ) {
                 $out .= $_;
             } else {
             if ( $comment ) {
                 $out .= $_;
             } else {