[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 03:13:38PM -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.

I see. Well, how common is this? Did the extra space come from a template of
some sort, by any chance?

-- 
     2. That which causes joy or happiness.



Reply to: