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

Re: New check request: extra space in debian/rules



On Thu, Oct 10, 2002 at 09:49:12PM +0200, Josip Rodin wrote:
> On Thu, Oct 10, 2002 at 12:31:39PM -0600, Joel Baker wrote:
> > As seen on debian-devel recently...
> > 
> > I would like to request a new check from the lint tools, against source
> > packages; the 'debian/rules' file should *not* have a trailing space after
> > the "#! /usr/bin/make -f".
> 
> You mean there's a port of make that doesn't like a space after the -f
> option? Gosh.

No; the script handler in NetBSD treats the trailing space as whitespace,
and splits on it, producing an empty string at the end, and causing make to
try to invoke a file ''. As noted, some work is going to be done to try to
make NetBSD more accepting of this, at least under Debian/NetBSD, but it
would also be good to catch it in lint* and throw a warning. Make is doing
exactly what it gets told to do; it's just getting told this thing by an
implementation of a loosely defined spec that takes a different view of it
than Linux does.
-- 
***************************************************************************
Joel Baker                           System Administrator - lightbearer.com
lucifer@lightbearer.com              http://users.lightbearer.com/lucifer/

Attachment: pgpVIEczJUS9W.pgp
Description: PGP signature


Reply to: