Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/portlint/Makefile,v retrieving revision 1.70 diff -u -u -r1.70 Makefile --- Makefile 2 Jan 2004 02:20:41 -0000 1.70 +++ Makefile 6 Jan 2004 17:54:40 -0000 @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.5.5 +PORTVERSION= 2.5.6 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none Index: src/portlint.pl =================================================================== RCS file: /home/ncvs/ports/devel/portlint/src/portlint.pl,v retrieving revision 1.51 diff -u -u -r1.51 portlint.pl --- src/portlint.pl 2 Jan 2004 02:20:41 -0000 1.51 +++ src/portlint.pl 6 Jan 2004 17:54:15 -0000 @@ -1137,6 +1137,9 @@ # use of echo itself. $j = $whole; $j =~ s/([ \t][\@\-]{0,2})(echo|\$[\{\(]ECHO[\}\)]|\$[\{\(]ECHO_MSG[\}\)])[ \t]+("(\\'|\\"|[^"])*"|'(\\'|\\"|[^'])*')[ \t]*;?(\n?)/$1$2;$3/g; #" + # ignore variables names in .for loops, but not what's at the end + # of the for loop + $j =~ s/(\.for +)([^ ]*)( .*)/$1$3/; foreach my $i (keys %cmdnames) { # XXX This is a hack. Really, we should break $j up into individual # lines, and go through each one.