pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37489: pkglint doesn't report if CONF_FILES is correct
>Number: 37489
>Category: pkg
>Synopsis: pkglint doesn't report if CONF_FILES is correct
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Dec 06 13:10:00 +0000 2007
>Originator: Johann Franz
>Release: 4.0_RC5
>Organization:
Entirely Unorganized
>Environment:
NetBSD marvin 4.0_RC5 NetBSD 4.0_RC5 (MARVIN) #1: Sun Dec 2 06:52:10 CET 2007
johann@marvin:/usr/obj/sys/arch/i386/compile/MARVIN i38
>Description:
In pkgsrc/wip/e17/Makefile I accidentally put only one argument to CONF_FILES=
instead of a pair of arguments, as would be correct.
pkglint didn't report this, so I ran into a typical sh-error ("shift: can't
shift that many"), that happens when e.g. sh has nothing left to shift or too
much.
This was confusing.
It would be great if pkglint would report this.
>How-To-Repeat:
% sh
$ shift
shift: can't shift that many
or remove the second argument in the CONF_FILES= line in
pkgsrc/wip/e17/Makefile, then pkglint and make install.
>Fix:
Home |
Main Index |
Thread Index |
Old Index