summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-19 11:06:18 +0000
committerrillig <rillig@pkgsrc.org>2005-05-19 11:06:18 +0000
commit6aa47c4c30a7945969976459f04f9bfeb71b6203 (patch)
tree2d7f5f363bf126b419f45286dc4bf64e87cde2d1 /pkgtools
parent5caf0a312e7f68bef7e2984cd51c598574c9b9fb (diff)
downloadpkgsrc-6aa47c4c30a7945969976459f04f9bfeb71b6203.tar.gz
Removed unnecessary code from checkpathname().
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl13
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($) {