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

Re: use of {} shell wildcards in debian/rules



Please fix your broken From: header.

On Fri, Sep 02, 2005 at 05:44:26PM +0300, Delian Delchev wrote:
> Jeroen van Wolffelaar wrote:

> >On Fri, Sep 02, 2005 at 03:17:30PM +0100, Toby White wrote:

> >>Since they are Makefiles, there is no convention (is there?) for specifying
> >>which shell should be used to execute commands.

> >I use "export SHELL=/bin/bash" in the top of Makefiles where I use bashisms.
> >I greatly prefer that over making the makefile harder to read by conforming to
> >arcane POSIXisms.

> I believe at least /etc/init.d/rcS script have to be in POSIX shell as
> it can be used in crashed enviroment. All other scripts can have
> #!/bin/bash as beginning. Anyway, as debian has port to embedded
> machines (like PocketPC/ARM) there is high possibility to be needed a
> tiny variant of the distribution. For compatibility and less work
> probably it is better all major scripts to be in POSIX shell

We were discussing use of bashisms in *Makefiles*, not in init scripts.
Trying to reduce the memory usage of make/sh when building packages is
almost always a false optimization.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: