SVN: vfmg/trunk/vfmg

sparky sparky at pld-linux.org
Fri Jan 19 21:36:03 CET 2007


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 = "";
 		}
 	}


More information about the pld-cvs-commit mailing list