diff options
author | rillig <rillig> | 2005-05-19 11:06:18 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-05-19 11:06:18 +0000 |
commit | 8ca0e5bd9c472c05469da9ab7ba6dac96a327a4a (patch) | |
tree | 2d7f5f363bf126b419f45286dc4bf64e87cde2d1 /pkgtools | |
parent | ce3812fe3d634147008545e85278175958e60456 (diff) | |
download | pkgsrc-8ca0e5bd9c472c05469da9ab7ba6dac96a327a4a.tar.gz |
Removed unnecessary code from checkpathname().
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 50565bebbd5..5d9a8482ee6 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -11,7 +11,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.155 2005/05/19 11:02:03 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.156 2005/05/19 11:06:18 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -973,17 +973,6 @@ sub checkpathname($) { my ($whole); checkperms($fname); - - if ($file =~ /$filesdir\//) { - # ignore - return true; - } - - # FIXME: convert to load_file. - open(IN, "< $opt_packagedir/$file") || return false; - { local $/; $whole = <IN>; } - close(IN); - return true; } sub checklastline($) { |