Code

Applied patch to mkfiles.pl from Andre Twupack
authorkidproto <kidproto@users.sourceforge.net>
Sun, 22 Oct 2006 18:53:31 +0000 (18:53 +0000)
committerkidproto <kidproto@users.sourceforge.net>
Sun, 22 Oct 2006 18:53:31 +0000 (18:53 +0000)
src/mkfiles.pl

index 5da72ffac3f43d2c6ed8457c5b7173ad8fa3c7bb..100e54b5be40e15eb2c035d156a6d01da96b9fce 100755 (executable)
@@ -60,7 +60,9 @@ sub doMakeFiles
             {
             $line = $_;
             #Trim whitespace from ends
-            $line =~ s/^\s|\t|\n//;
+            # $line =~ s/^\s|\t|\n//;
++           $line =~ s/^\s+//;
++           $line =~ s/\s+$//;
             #Ignore if no text in line
             next if ( length($line) < 1 );
             #Ignore if starts with '#'