diff options
author | rillig <rillig> | 2005-11-14 04:30:31 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-11-14 04:30:31 +0000 |
commit | 337b9b1051a082bea7312a1ee7c0f7ff9f512bcf (patch) | |
tree | 83e0c3624242091844414ba953730e8d15463170 /pkgtools | |
parent | 180977e7bcb063162be3f89d71d209be3b4927aa (diff) | |
download | pkgsrc-337b9b1051a082bea7312a1ee7c0f7ff9f512bcf.tar.gz |
When loading .mk files, lines are properly converted into logical lines.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index d1b4674f33d..d07ce67f859 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.349 2005/11/14 04:24:14 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.350 2005/11/14 04:30:31 rillig Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by: @@ -2257,7 +2257,7 @@ sub checkfile_mk($) { log_subinfo("checkfile_mk", $fname, NO_LINE_NUMBER, undef); checkperms($fname); - if (!($lines = load_file($fname))) { + if (!($lines = load_lines($fname, true))) { log_error($fname, NO_LINE_NUMBER, "Cannot be read."); return; } |