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

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



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.
>
>--Jeroen
>
>  
>
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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: