On Mon, Nov 8, 2010 at 10:01 AM, Eitan Adler <[email protected]> wrote:
> portlint currently reports two conflicting messages when it finds a
> "work" directory in a port
> a) Make sure it isn't committed
> b) It was not found in CVS
>
> This patch silences the second one
>
> --- portlint.old        2010-11-05 14:02:28.000000000 -0400
> +++ portlint    2010-11-07 20:58:57.000000000 -0500
> @@ -464,7 +464,7 @@
>                                if /^(?:\.\.?|CVS)$/;
>                        my $filename = $dir eq '.' ? $_ : "$dir/$_";
>                        if (-d $filename) {
> -                               if (!$entries{$_} || $entries{$_} ne 'D') {
> +                               if ((!$entries{$_} || $entries{$_} ne 'D') && 
> $filename ne 'work') {
>                                        &perror("FATAL", "", -1, "directory 
> $filename not in CVS.");
>                                }
>                                else {
>
>
> --
> Eitan Adler

Hi,

Would you please file a PR and then marcus@ will take care of it. :)
Thanks.

Regards,
-- 
  Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
          4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
                            http://people.FreeBSD.org/~sunpoet/pgpkeys.txt
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to