Author: sparky
Date: Fri Jan 19 21:36:02 2007
New Revision: 8180

Modified:
   vfmg/trunk/vfmg
Log:
- fix multi-line option in rc file


Modified: vfmg/trunk/vfmg
==============================================================================
--- vfmg/trunk/vfmg     (original)
+++ vfmg/trunk/vfmg     Fri Jan 19 21:36:02 2007
@@ -239,9 +239,10 @@
                                exists $rcSect{$o_output} ? 
@{$rcSect{$o_output}} : ()
                        ) {
                next if /^\s*#/;
+               chomp;
                $ll .= $_;
-               unless ( s/\s*\\\n$// ) {
-                       push @rcBody, $ll unless $ll =~ s/^\s*$//;
+               unless ( $ll =~ s/\s*\\$// ) {
+                       push @rcBody, $ll if $ll =~ /\S/;
                        $ll = "";
                }
        }
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to