From 7ab18cb936002742333f71b1d0c898445eae796a Mon Sep 17 00:00:00 2001 From: kidproto Date: Sun, 22 Oct 2006 18:53:31 +0000 Subject: [PATCH] Applied patch to mkfiles.pl from Andre Twupack --- src/mkfiles.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mkfiles.pl b/src/mkfiles.pl index 5da72ffac..100e54b5b 100755 --- a/src/mkfiles.pl +++ b/src/mkfiles.pl @@ -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 '#' -- 2.30.2