Author: sparky
Date: Sat Oct 3 19:42:38 2009
New Revision: 10665
Modified:
toys/rsget.pl/rsget.pl
Log:
- fixed trimming
Modified: toys/rsget.pl/rsget.pl
==============================================================================
--- toys/rsget.pl/rsget.pl (original)
+++ toys/rsget.pl/rsget.pl Sat Oct 3 19:42:38 2009
@@ -67,9 +67,8 @@
$line++;
next if /^\s*(?:#.*)?$/;
chomp;
- if ( s/^\s*([a-z_]+)\s*=\s*// ) {
- s/\s+$//;
- set( $1, $_, "config file, line $line" );
+ if ( s/^\s*([a-z_]+)\s*=\s*(.*?)\s*$// ) {
+ set( $1, $2, "config file, line $line" );
next;
}
warn "Incorrect config line: $_\n";
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit