pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/lintpkgsrc/files lintpkgsrc: remove trailing ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a22f649cc63
branches:  trunk
changeset: 443603:4a22f649cc63
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Dec 17 16:08:44 2020 +0000

description:
lintpkgsrc: remove trailing whitespace

diffstat:

 pkgtools/lintpkgsrc/files/lintpkgsrc.pl |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r 6788aaa91112 -r 4a22f649cc63 pkgtools/lintpkgsrc/files/lintpkgsrc.pl
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Thu Dec 17 16:01:26 2020 +0000
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl   Thu Dec 17 16:08:44 2020 +0000
@@ -1,6 +1,6 @@
 #!@PERL5@
 
-# $NetBSD: lintpkgsrc.pl,v 1.18 2020/09/16 02:03:57 gutteridge Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.19 2020/12/17 16:08:44 rillig Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -131,7 +131,7 @@
 
        # list the installed packages and the directory they live in
        foreach my $pkgname (sort @pkgs)
-           {   
+           {
            if ($pkgname =~ /^([^*?[]+)-([\d*?[].*)/)
                {
                foreach my $pkgver ($pkglist->pkgver($1))
@@ -146,7 +146,7 @@
        # distfiles belonging to the currently installed packages
        foreach my $pkgver (sort @installed)
            {
-           if (open(DISTINFO, "$pkgsrcdir/" .$pkgver->var('dir'). "/distinfo")) 
+           if (open(DISTINFO, "$pkgsrcdir/" .$pkgver->var('dir'). "/distinfo"))
                {
                while( <DISTINFO> )
                    {
@@ -169,7 +169,7 @@
                close(DISTINFO);
                }
            }
-       
+
        # distfiles downloaded on the current system
        @tmpdistfiles = listdir("$pkgdistdir");
        foreach my $tmppkg (@tmpdistfiles)
@@ -195,8 +195,8 @@
                        { $found = 1; }
                    }
                    if ($found != 1)
-                       { 
-                       push (@orphan, $dldf); 
+                       {
+                       push (@orphan, $dldf);
                        print "Orphaned file: $dldf\n";
                        }
                    $found = 0;
@@ -224,8 +224,8 @@
                        { $found = 1; }
                    }
                    if ($found == 1)
-                       { 
-                       push (@parent, $pkgdf); 
+                       {
+                       push (@parent, $pkgdf);
                        print "Parented file: $pkgdf\n";
                        }
                    $found = 0;



Home | Main Index | Thread Index | Old Index